sonoflash - dynamic sound w/o mp3s
I would like to tell everyone here especially games developer who are incorporating sounds in their app that there is now a technology for flash that you could use to dynamically add/control sounds without the use of mp3s!!http://sonoflash.com/FAQ.htm
-- link to site.http://sonoflash.com/Sounds.htm
-- parameters which you could experiment on.http://sonoflash.com/Showcase.htm
-- sample demos you could play with.http://sonoflash.com/FAQ.htm
-- information about the technology.
They even have a tutorial on how to implement it in FD and it's free!!
Here's a sample code on how to create a bass string sound:
var snd:InstrumentBassString = new InstrumentBassString();
snd.setParamVal( BaseSound.PNAME_GAIN, 1 ); // Gain
snd.setParamVal( BaseSound.PNAME_PAN, 0 ); // Pan
snd.setParamVal( InstrumentBassString.PNAME_FREQ, 98 ); // Frequency
snd.setParamVal( InstrumentBassString.PNAME_DAMPING, 0.8 ); // Damping
snd.setParamVal( InstrumentBassString.PNAME_CLARITY, 2 ); // Clarity
//snd.play(); // Start playing the sound.
//snd.stop(); // Stop playing the sound immediately & abruptly.
//snd.release(); // Tell the sound to stop, but smoothly and without a glitch.