libsndfile is a widely used
[Adobe Audition CS5.5 Third Party Legal Notices]
/ref> C library written by Erik de Castro Lopo for reading and writing audio files.[libsndfile](_blank)
/ref> It supports a wide variety of audio file format
An audio file format is a file format for storing digital audio data on a computer system. The bit layout of the audio data (excluding metadata) is called the audio coding format and can be uncompressed, or compressed to reduce the file size, o ...
s and will convert automatically from one to another. It allows the programmer to ignore many details, such as endianness
In computing, endianness, also known as byte sex, is the order or sequence of bytes of a word of digital data in computer memory. Endianness is primarily expressed as big-endian (BE) or little-endian (LE). A big-endian system stores the most sig ...
.
In addition to the library itself, the package provides command-line programs for converting one format to another (sndfile-convert), for playing audio files (sndfile-play), and for obtaining information about the contents of an audio file (sndfile-info).
libsndfile is available for Unix-like
A Unix-like (sometimes referred to as UN*X or *nix) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-li ...
systems, including Linux
Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, which ...
and Mac OS X
macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac (computer), Mac computers. Within the market of ...
, and for Microsoft Windows
Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
. It is licensed under LGPL-2.1-or-later.
libsndfile is used, for example, by audio-editing software such as Audacity and Adobe Audition
Adobe Audition is a digital audio workstation developed by Adobe Inc. featuring both a multitrack, non-destructive mix/edit environment and a destructive-approach waveform editing view.
Origins
Syntrillium Software was founded in the early 1 ...
[ and the ]MP3
MP3 (formally MPEG-1 Audio Layer III or MPEG-2 Audio Layer III) is a coding format for digital audio developed largely by the Fraunhofer Society in Germany, with support from other digital scientists in the United States and elsewhere. Origin ...
encoder LAME
Lame or LAME may refer to:
Music
* "Lame" (song) by Unwritten Law
* ''Lame'' (album) by Iame
People
* Ibrahim Lame (born 1953), Nigerian educator and politician
* Jennifer Lame (), American film editor
* Quintín Lame (1880–1967), Colombian ...
.LAME changelog
/ref>
See also
*Pulse-code modulation
Pulse-code modulation (PCM) is a method used to digitally represent sampled analog signals. It is the standard form of digital audio in computers, compact discs, digital telephony and other digital audio applications. In a PCM stream, the ...
*WAV
Waveform Audio File Format (WAVE, or WAV due to its filename extension; pronounced "wave") is an audio file format standard, developed by IBM and Microsoft, for storing an audio bitstream on PCs. It is the main format used on Microsoft Wind ...
*AIFF
Audio Interchange File Format (AIFF) is an audio file format standard used for storing sound data for personal computers and other electronic audio devices. The format was developed by Apple Inc. in 1988 based on Electronic Arts' Interchange File ...
References
External links
*
Fortran77 interface
Secret Rabbit Code Sample Rate Converter
Audio libraries
C (programming language) libraries
Free audio codecs
Free audio software
Free computer libraries
Free software programmed in C
{{Multimedia-software-stub