SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .MP3
SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .MP3. It is meant to make the programmer's sound playback tasks simpler. The programmer gives SDL_sound a filename, or feeds it data directly from one of many sources, and then reads the decoded waveform data back at her leisure.
If resource constraints are a concern, SDL_sound can process sound data in programmer-specified blocks. Alternately, SDL_sound can decode a whole sound file and hand back a single pointer to the whole waveform. SDL_sound can also handle sample rate, audio format, and channel conversion on-the-fly and behind-the-scenes, if the programmer desires.
As the name implies, SDL_sound is an add-on to Simple Directmedia Layer, and as such, you'll need it to build and use SDL_sound. SDL gives us lots of convenience for porting and implementing some elements of the library, not to mention that it is a powerful, cross platform answer to DirectX. You should definitely look into it, whether you use SDL_sound or not.
Places SDL_sound is known to be used:
The Ambient Music System uses SDL_sound in its player module.
The popular game glTron uses SDL_sound for sound playback.
Dominik Haumann wrote in to mention C++ wrappers for SDL_sound, which can be found here.
MusicBox, a GNUstep music manager, uses SDL_sound to decode various audio formats.
The SuSE Linux distribution has been know to package SDL_sound (at least version 0.1.5 has been spotted in the wild).
Gentoo Linux distributes SDL_sound via their "portage" system. Just "emerge sdl-sound".
FreeBSD has SDL_sound in their Ports tree: here're the details.
NetBSD Appears to have packaged SDL_sound, too: details.
Debian has packaged SDL_sound, too: details.
ROCK Linux has an SDL_sound package: details.
Probably other places. Email me if you want to be listed here.
Support for "decoding" raw audio samples.
Support for decoding Microsoft WAVE audio files (uncompressed and MS-ADPCM encoded waveforms are supported, currently) (.WAV).
Support for decoding various MPEG audio files through SMPEG (.MP3, .MPG, .MPEG).
Support for decoding MPEG-1 Layer 3 audio files internally (makes use of LGPL'd code from mpg123.) (.MP3).
Support for decoding MIDI music files (.MIDI, .MID).
Support for decoding Ogg Vorbis audio files through libvorbis (.OGG).
Support for decoding Speex voice files through libspeex (.SPX).
Support for decoding FLAC audio files through libFLAC (.FLAC, .FLA).
Support for decoding Creative Labs Voice files (.VOC).
Support for decoding Audio Interchange File Format files (.AIFF).
Support for decoding Shorten-compressed audio data (.SHN).
Support for Sun's audio format (.AU).
Support for decoding through MikMod. (.MOD, .IT, .XM, .S3M, .MTM, .669, .STM, .ULT, .FAR, .MED, .AMF, .DSM, .IMF, .GDM, .STX, .OKT).
Support for decoding through ModPlug. (.669, .AMF, .AMS, .DBM, .DMF, .DSM, .FAR, .IT, .MDL, .MED, .MOD, .MT2, .MTM, .OKT, .PTM, .PSM, .S3M, .STM, .ULT, .UMX, .XM)
Experimental support for decoding through Apple Quicktime (MacOS only).
Compiles/runs on Linux (x86 tested).
Compiles/runs on Linux (x86-64 tested).
Compiles/runs on Linux (PowerPC tested).
Compiles/runs on FreeBSD (x86 tested).
Compiles/runs on Win32 (x86 tested).
Compiles/runs on MacOS Classic (PowerPC tested).
Compiles/runs on MacOS X (PowerPC tested).
Compiles/runs on BeOS (x86 tested).
Compiles/runs on WinCE/PocketPC (StrongARM tested).
May compile and run elsewhere with little to no modification. Success stories and patches are welcome.
What doesn't work:
Support for more forms of compressed .WAV files is planned, but not yet implemented.
Support for various forms of compressed .AIFF files is planned, but not yet implemented.
Contributions of other ports are, of course, welcome.
sdl sound support for for decoding compiles runs tested compiles audio files x86 tested files through uses sdl sound can powerpc tested the programmer decoding through
Download SDL_sound 1.0.1
libTiMidity 0.1.0 (by Konstantin Korikov)
libTiMidity is a MIDI to WAVE converter library that uses Gravis Ultrasound-compatible patch files to generate digital audio data fro
aKode 2.0.1 (by Allan Sandfeld Jensen)
aKode is not really a KDE application and not even an application, but very usefull non the less.
aKode is the decoding library u
Audio::MPEG 0.04 (by Peter Timofejew)
Audio::MPEG is a Perl module for encoding and decoding of MPEG Audio (MP3).
Audio::MPEG is a Per
xBaK 0.0.12 (by Guido de Jong)
xBaK is a fan-made remake of the classic Sierra computer RPG "Betrayal at Krondor" running on linux
Other software in this category
zlib 1.2.3 (by Jean-loup Gailly)
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp
libxml2 2.6.27 (by DV)
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i
GNU C library 2.4 (by Andreas Jaeger)
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.
GNU C library is us
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell