A Child’s Garden of Sound File Formats Machine Tongues XVIII: A Child’s Garden of Sound File Formats Stephen Travis Pope* and Guido van Rossum† *Computer Music Journal, CNMAT P. O. Box 9496 Berkeley, California, 94709 USA
[email protected] †Multimedia Kernel Systems Group, CST Centrum voor Wiskunde en Informatica (CWI) Kruislaan 413, P. O. Box 94079 Amsterdam, NL-1090 GB The Netherlands
[email protected] Practitioners of computer music often need to store sound as sampled digital data on their computer’s hard disks, digital audio tapes (DATs), or compact disks (CDs). The data formats used to represent digitally sampled sound determine the audio quality of the sound capture, the amount of disk or tape needed to store the data, and the ease with which application programs can be developed to manipulate sound data. Sound file systems are software packages that provide standardized data structures for sampled sounds in order to enable real-time recording and playback, to ease the development of sound-processing software tools, and to increase the interoperability of related utility programs. Sound file systems differ in what kind of support they offer for compact and efficient sample storage on disk, real-time sound I/O, data interchange between programs, and sound manipulation and annotation. The components of such a system include the disk-based storage format, in-memory data structures, function libraries for processing sound data (the application programming interface or API), and some collection of end-user utility programs, for example to play and record sounds. This article introduces a few of the many ways that sound data can be stored in computer files, and describes several of the file formats that are in common use for this purpose.