Sonic Flow Installation
=======================

Sonic Flow is an autoconf program, so theoretically you just need to run
"./configure", "gmake" and "gmake install".

However notice that the SndLib library, which Sonic Flow uses, doesn't configure
automatically.  Therefore, *prior* to compiling Sonic Flow you need to compile
SndLib by hand.  For example, on a Sun Solaris system you need to run the
following commands in the src/sndlib directory:

gcc -g -c io.c headers.c audio.c lispcall.c sound.c -O2 -DSOLARIS
ar cru libsndlib.a *.o
ranlib libsndlib.a

On a SGI IRIX system you would run the following commands (make sure you're in
the src/sndlib directory):

gcc -g -c io.c headers.c audio.c lispcall.c sound.c -O2 -DSGI
ar cru libsndlib.a *.o
ranlib libsndlib.a

On a GNU/Linux system (make sure you're in the src/sndlib directory):

gcc -g -c io.c headers.c audio.c lispcall.c sound.c -O2 -DLINUX
ar cru libsndlib.a *.o
ranlib libsndlib.a

After doing this, you should be able to build the libsf library, all the
included blocks and example programs by typing (in the root directory of the
Sonic Flow distribution):

./configure
gmake

After the compilation has finished you can install the programs to the
/usr/local directory by typing

gmake install

This will install the libsf and libsfblocks libraries into /usr/local/lib and
their include files into /usr/local/include/sf.

The example programs will not get installed, but they are available for testing
in the src/examples directory.  After compilation, you should find the following
binaries there: afmsynth, chorus-flanger, multitap, parameq, reverb and wah-wah.
