PDA

View Full Version : ANN: Slashstone SoundFX Builder


Bad Sector
12-14-2005, 06:53 PM
Note: i'm not sure if this is the right place to put this, but anyway, feel free to move if it's in the wrong forum (i was thinking about the technical one, but it's an announcement so...)

For the development of Nikwi (http://www.slashstone.com/prod.php?id=6), i wrote a small tool to create sound effects. The tool is conceptually based on an old program i had in a "downloads cd" (a CD filled with downloads), Sound Effects Generator (or something like that). If you have used that program, you can use Slashtone SoundFX Builder too, although the interface is very simple, so you won't have problems.

The program is based around two envelopes: a frequency envelope and a volume envelope. You add "points" to these envelopes (you can put as points as you want) to change the volume and the frequency of a base waveform (out of three: sine, distorted sine and square) over time. You can also set the "upper frequency" (the frequency at where the "upper" side of the frequency envelope is), the global volume, the effect's length in milliseconds, apply some effects such as echo and two others i call "squarization" and "purify".

When you have an effect ready, you can save it as .ssfx or .wav. You can load only .ssfx files. The package contains a small C library for loading .ssfx files from disk or memory (using a pointer) and produces raw wave data in 16bit signed 22050Hz format, that can be used directly with an underlying sound engine. It also contains a sample program that uses the library to play .ssfx files with SDL.

Lastly, the program comes with complete source code in Lazarus (http://lazarus.freepascal.org/), licensed under the terms of the MIT license. It may compile under Linux and MacOS X (platforms which Lazarus also supports), but i have only the Windows version of Lazarus and i use MessageBox for confirmation boxes, so it will need a minor modification.

You can download it from here (http://www.slashstone.com/files/ssfxsetup.exe) (it's 1.3MB - sorry, but Lazarus generates huge EXE files due to a bug/issue in the windows version of ld).

A screenshot of the program in action is here (http://www.slashstone.com/images/ssfxshot.png)

I hope that this will be useful to some people. It was to me, for Nikwi :D.