Music and Sound

Basic and Machine Language

Moderator: Moderators

Post Reply
User avatar
MrSterlingBS
Vic 20 Enthusiast
Posts: 174
Joined: Tue Jan 31, 2023 2:56 am
Location: Germany,Braunschweig

Music and Sound

Post by MrSterlingBS »

Hello,

I programmed a game, but the music and the sound effects are still missing. I'm also looking for a good interrupt player.

Can someone support me with this?

Best regards
Sven
furroy
Vic 20 Drifter
Posts: 20
Joined: Sun Aug 27, 2023 5:03 am

Re: Music and Sound

Post by furroy »

I just went through this myself and Vic-Tracker 2.0 seemed to be the best bet all around. It will generate DASM files for an irq player. I use KickAsm, so it was a little painful converting it from DASM but doable!

http://www.kahlin.net/daniel/victracker/
User avatar
MrSterlingBS
Vic 20 Enthusiast
Posts: 174
Joined: Tue Jan 31, 2023 2:56 am
Location: Germany,Braunschweig

Re: Music and Sound

Post by MrSterlingBS »

Thanks, some of the sound files are very cool.
I will ask the composers for the rights.

There is another page i have found.

http://www.boray.se/commodore/iecplay2/
User avatar
MrSterlingBS
Vic 20 Enthusiast
Posts: 174
Joined: Tue Jan 31, 2023 2:56 am
Location: Germany,Braunschweig

Re: Music and Sound

Post by MrSterlingBS »

furroy wrote: Tue Sep 05, 2023 7:27 am I just went through this myself and Vic-Tracker 2.0 seemed to be the best bet all around. It will generate DASM files for an irq player. I use KickAsm, so it was a little painful converting it from DASM but doable!

http://www.kahlin.net/daniel/victracker/
In fact, digging through the code is a bit tiring. I use VASM or CBM prg Studio.Iisn't there something along these lines?
furroy
Vic 20 Drifter
Posts: 20
Joined: Sun Aug 27, 2023 5:03 am

Re: Music and Sound

Post by furroy »

i know, they are all varying degrees of user friendly and usually spit out a .prg file at some point. but they were all pretty user hostile if you wanted to try to play the music inside your own prg file.
Last edited by furroy on Wed Sep 06, 2023 7:40 am, edited 1 time in total.
User avatar
chysn
Vic 20 Scientist
Posts: 1205
Joined: Tue Oct 22, 2019 12:36 pm
Website: http://www.beigemaze.com
Location: Michigan, USA
Occupation: Software Dev Manager

Re: Music and Sound

Post by chysn »

I think, for VIC-20 at least, there's not much use in using a drop-in solution for music and sound. Memory is so tight that it almost always needs to be bespoke code to support the needs of the project. Otherwise you have extraneous and/or missing features which put unnecessary pressure on available memory.

My sound effects player has been somewhat stable from project to project. It's a lightweight and flexible shift-register based player, with each sound effect described by two bytes. But my music players are always entirely re-written for each project because the features I need are so different each time.

If you'd like to review my effects player for ideas, I think the most mature version of it is in Dungeon of Dance

https://github.com/Chysn/VIC20-DungeonO ... ungeon.asm

lines 1439-1490, with data table and documentation at 1599. It's appropriate for retro 8-bit arcade-type effects.

You're welcome to check out the music players in this and other games in my GitHub account. But like I said, these are all over the map.
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5

WIP: MIDIcast BASIC extension

he/him/his
User avatar
MrSterlingBS
Vic 20 Enthusiast
Posts: 174
Joined: Tue Jan 31, 2023 2:56 am
Location: Germany,Braunschweig

Re: Music and Sound

Post by MrSterlingBS »

Thank you very much.
:mrgreen: :mrgreen: :mrgreen:
Post Reply