Hi,
i've added a simple createWave() method to jsfxlib. You don't want to generate a whole bunch of sounds all the time, so i thought it made sense to have a method to create a single sound. I've modified createWaves() to use the code as well so you don't have code duplication.
Hi, i've added a simple createWave() method to jsfxlib. You don't want to generate a whole bunch of sounds all the time, so i thought it made sense to have a method to create a single sound. I've modified createWaves() to use the code as well so you don't have code duplication.