As3Sfxr isÂ aÂ port of sfxr from C++, using the new sound and file capabilities of Flash Player 10.Â Some of its features:
- Asynchronous caching
- Automatic cache clearing on parameter change
- Faster synthesis
Choose from 4 different oscillators – square, saw, sine and noise. Adjust the 22 parameters to find a sound effect you like. Then save it out as a .wav file, or save the parameter settings to load back in later and tweak the sound further.
Features 7 ‘generator’ functions, which produce random but familiar game sounds such as pickup/coin, laser/shoot and explosion.
var synth:SfxrSynth = new SfxrSynth(); synth.params.setSettingsString("0,,0.271,,0.18,0.395,,0.201,,,,,,0.284,,,,,0.511,,,,,0.5"); synth.play();