Ive looked around but I cant see anyone here who has done this so I thought Id ask just on the off-chance.
Im looking for a way to create a sound file on the fly in code. Something like the old games from my youth ( space invaders, galaxians, pacman, defender, asteriods, etc etc ).
What Im after is a way of creating a wav or whatever by supplying start/end freq, start/end volume/ duration maybe also the option of noise so I can do them explosion sounds. Of course most sounds will be made up of a sound getting louder, playing for a bit and fading so I thought if I had an option to append a sound on the end of an existing sound this will give me all I need to create simple sounds on the fly.
Why do I want this ?.. well.. I never seem to write anything cause I get bogged down with trying to create the flashy graphics, the special effects, trying to get hold of the sound files etc. To this end I've decided the next game I write will have zero external media.
Well.. its something to do isnt it !?
Im looking for a way to create a sound file on the fly in code. Something like the old games from my youth ( space invaders, galaxians, pacman, defender, asteriods, etc etc ).
What Im after is a way of creating a wav or whatever by supplying start/end freq, start/end volume/ duration maybe also the option of noise so I can do them explosion sounds. Of course most sounds will be made up of a sound getting louder, playing for a bit and fading so I thought if I had an option to append a sound on the end of an existing sound this will give me all I need to create simple sounds on the fly.
Why do I want this ?.. well.. I never seem to write anything cause I get bogged down with trying to create the flashy graphics, the special effects, trying to get hold of the sound files etc. To this end I've decided the next game I write will have zero external media.
Well.. its something to do isnt it !?