Looking for a good reference about Sound

By mcavalcanti

Rookie (20)

mcavalcanti's picture

27-02-2013, 21:33

Hello. Does anybody know a good reference (book or tool) to help create short sound effects (jump, punch, shot etc.) using Sound command? Just found books/articles focused on music production.


Login or register to post comments

By wolf_

Ambassador_ (10109)

wolf_'s picture

27-02-2013, 22:34

I suspect you are creating a game in BASIC and want the SOUND commando to do your sound effects. Are you using an interval timer for your game updates? Because that's what you want to use for sound effects too, unless you cater for a FOR-loop in which you change sound parameters, accepting that your gameplay grinds to a halt.

In theory SEE is the way to go for sfx, but I don't know if there's a way to use them in BASIC in some interrupt'ish way.., kinda like having an MB player alike, but then for sfx.

By Edwin

Paragon (1182)

Edwin's picture

28-02-2013, 00:08

The 'sound' command in nothing more than writing the registers of the PSG chip. You can find a chip specification on MAP for the meaning of those registers. The problem is that it's actually really simple. Just registers to set a frequency and volume for three channels. With the option of using a volume envelope or add noise to a channel. Getting something decent out of it is actually pretty hard.