Looking for a good reference about Sound

Par mcavalcanti

Rookie (20)

Portrait de mcavalcanti

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.

Best.

!login ou Inscrivez-vous pour poster

Par wolf_

Ambassador_ (9906)

Portrait de wolf_

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.

Par Edwin

Paragon (1182)

Portrait de Edwin

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.