README
author Sam Lantinga <slouken@lokigames.com>
Thu, 21 Oct 1999 18:02:08 +0000
changeset 0 4ce2db4db959
child 22 5104018a0c45
permissions -rw-r--r--
Initial revision
slouken@0
     1
slouken@0
     2
Due to popular demand, here is a simple multi-channel audio mixer.
slouken@0
     3
It supports 4 channels of 16 bit stereo audio, plus a single channel
slouken@0
     4
of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
slouken@0
     5
libraries.
slouken@0
     6
slouken@0
     7
See the header file mixer.h and the examples playwave.c and playmus.c
slouken@0
     8
for documentation on this mixer library.
slouken@0
     9
slouken@0
    10
The mixer can currently load Microsoft WAVE files as audio samples
slouken@0
    11
and can load MIDI files via Timidity and the following music formats
slouken@0
    12
via MikMod:  .MOD .S3M .IT .XM. It can also load MP3 music using the
slouken@0
    13
SMPEG library.
slouken@0
    14
slouken@0
    15
The process of mixing MIDI files to wave output is very CPU intensive,
slouken@0
    16
so if playing regular WAVE files sound great, but playing MIDI files
slouken@0
    17
sound choppy, try using 8-bit audio, mono audio, or lower frequencies.
slouken@0
    18
slouken@0
    19
To play MIDI files, you'll need to get a complete set of GUS patches
slouken@0
    20
from:  http://www.devolution.com/~slouken/SDL/timidity/timidity.tar.gz
slouken@0
    21
and unpack them in /usr/local/lib under UNIX, and C:\ under Win32.
slouken@0
    22
slouken@0
    23
You may add panning, reverb, echo, whatever, but if you do, please
slouken@0
    24
mail changes back to me, Sam Lantinga at slouken@devolution.com
slouken@0
    25
slouken@0
    26
This library is available under the GNU Library General Public License.
slouken@0
    27