This is the complete source code for Slashstone SoundFX Builder.
It has been made using Lazarus: http://lazarus.freepascal.org/

It may also build in the Linux and MacOS X versions of Lazarus
(by removing the reference to MessageBox which is the only
dependancy to Win32 API), but i was unable to test it: i wasn't
able to figure out what i need for the Linux version and i
don't own a Mac.

Note that it seems to be a bug with Lazarus 0.9.10 beta that
makes the main window to be placed at the top-left corner of
the screen with less-than-required height, when you open the
project. I wasn't able to find a workaround, so everytime you
open the project you need to resize the window. The 'normal'
height is around two "grid dots" after the volume envelope's
border (i have my grid set to 4x4 - set it from
Environment -> Environment options -> Form editor).

The code is licensed under the terms of the MIT license, which
you can read in the license.txt or LICENSE file.

You will also need SDL from http://www.libsdl.org/ for audio
playback and MinGW to recompile playbuff.dll from
http://www.mingw.org/. Playbuff.dll serves as the connection
between SSFX and SDL. Recompiling playbuff.dll is not
required, unless you want to change something in the playback
code. I wrote playbuff with Dev-C++, which can be found at
http://www.bloodshed.net/, and i have included the .dev file
with the sources. If you have Dev-C++ you can simply open
the .dev file and build the library. In any other case, you
will need to build it manually.

In the slashfx directory you'll find a C library that loads
.ssfx files -from files or from memory pointers- and generates
16bit signed 22050 Hz waveforms that can be used directly in
C programs, without the need to use WAV files.


Kostas "Bad Sector" Michalopoulos
