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