The Audio File Library provides a uniform and elegant API for accessing a variety of audio file formats, such as AIFF/AIFF-C, WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual Research, Amiga IFF/8SVX, and NIST SPHERE. Supported compression formats are currently G.711 mu-law and A-law and IMA and MS ADPCM.
Key goals of the Audio File Library are file format transparency and data format transparency. The same calls for opening a file, accessing and manipulating audio metadata (e.g. sample rate, sample format, textual information, MIDI parameters), and reading/writing sample data will work with any supported audio file format. Likewise, the format of the audio data presented to the application need not be tied to the format of the data contained in the file.
The Audio File Library distributed under the GNU Library General Public License.
The Audio File Library is maintained using BitKeeper. View the Audio File Library repository.
SGI's documentation (mirror) on the Audio File Library gives a good overview of the library and its programming interface. I am still working on documentation for this project; those who'd like to help are urged to contact me.
It should work on most flavors of Unix. Please get in touch with me if you've encountered (or surmounted) difficulty building the library on your computer.
What's new in version 0.2.6:
The Audio File Library is included in the GNOME and KDE projects. It's also listed on Freshmeat.
Feel free to send me your comments, suggestions, money, or booze.
For more information on audio file formats, the Audio File Format FAQ is a good source of information.
Shouldn't you use it too?