This directory tree contains the Sound Processing Kit software distribution. Sound Processing Kit (abbr. SPKit) is a C++ class library for audio signal processing.
Copyright (C) 1992-2002 Kai Lassfolk
Other authors own the Copyright to parts of the software and documentation as noted in the individual files.
The Sound Processing Kit is distributed under the GNU Library General Public licence (LGPL). See the file COPYING.LIB for the licence terms.
CONTENTS OF THE SUBDIRECTORIES
The source code for the class library is in the "spkit" subdirectory.
The "examples" subdirectory contains example programs and experimental classes.
The "html" subdirectory contains documentation for the SPKit classes in HTML format. The documentation is also available on-line via the Internet at http://www.music.helsinki.fi/research/spkit.
COMPILING THE SPKIT CLASS LIBRARY
There are three versions of the SPKit library: a "generic" version, which should compile and run on most UNIX compatible systems, an Audio File Library version, which should compile and run on Linux, and an SGI version, which compiles and runs on old Silicon Graphics workstations. The generic version supports NeXT/Sun format soundfiles while the Audio File Libary and SGI versions support several sound file formats. The versions differ only in the implementation of the audio I/O classes.
By default, the class library is configured for the Audio File Library version.
The default Makefile is for Linux/GCC. To compile and install the class library under Linux, cd to the spkit directory and type "make" and "make install" (as root if recuired).
To compile spkit on NEXTSTEP, cd to the spkit directory and type "make -f Makefile.next".
To configure and build the class library for Silicon Graphics workstations, issue the following commands:
cd spkit
cp Makefile.sgi Makefile
cp reader.sgi.h reader.h
cp writer.sgi.h writer.h
make
The SGI Makefile is configured for GCC 2.0 or later.
On other platforms (e.g. SunOS) the Makefile must be modified.
There is also a Makefile for the Gnu C Compiler (named Makefile.gcc). It should compile the generic version of the spkit library on most UNIX platforms (including Sun) which have GCC 2.0 or newer installed.
When compiling on "little endian" machines, such as IBM PC compatibles or DEC VAX, add the following line to the file machine.h in the spkit directory:
#define __LITTLE_ENDIAN__
Under NEXTSTEP/Intel __LITTLE_ENDIAN__ is defined by default.
TESTED SYSTEMS
SPKit and (most of) the example programs have been compiled successfully on the following systems.
Hardware: Intel Pentium based PC OS: Linux 2.2.16 Compiler: GCC 2.96 Makefile: Makefile.linux
Older systems (tested to compile
Hardware: NeXTstation OS: NEXTSTEP 3.3 User / 3.2 Developer Compiler: GCC 2.5.8 (as a replacement of the standard cc) Makefile: Makefile.next Hardware: Sun Sparc (several models) OS: SunOS 5.4 Compiler: GCC 2.x (exact version unknown) Makefile: Makefile.gcc Hardware: HP 9000/735 OS: HP-UX 9.01 Compiler: GCC 2.x (exact version unknown) Makefile: Makefile.gcc Hardware: SGI Indy OS: IRIX 5.2 Compiler: GCC 2.7.0 Makefile: Makefile.sgi
