{{Short description|C library for reading and writing audio files}} {{Lowercase title}} {{Infobox software | name = libsndfile | developer = Erik de Castro Lopo | latest release version = {{wikidata|property|reference|edit|P348}} | latest release date = {{Start date and age|{{wikidata|qualifier|P348|P577}}|df=yes}} | programming language = C | operating system = Cross-platform | genre = Sound library | license = LGPL-2.1-or-later | website = <!-- https://www.wikidata.org/wiki/Q1344172#P856 --> }}

'''libsndfile''' is a widely used<ref>{{Cite web|url=http://www.mega-nerd.com/erikd/Blog/CodeHacking/libsndfile/ten_years.html|title = M3ga blog}}</ref><ref name=adobe>[http://www.adobe.com/products/eula/third_party/pdfs/audition_for_mac_thirdpartynotices.pdf Adobe Audition CS5.5 Third Party Legal Notices]</ref> C library written by Erik de Castro Lopo for reading and writing audio files.<ref name="site-top">[https://libsndfile.github.io/libsndfile/ libsndfile]</ref> It supports a wide variety of audio file formats and will convert automatically from one to another.<ref name="site-top"/> It allows the programmer to ignore many details, such as endianness.

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 AmigaOS, Unix-like systems, including Linux and Mac OS X, and for Microsoft Windows.<ref name="site-top"/> It is licensed under LGPL-2.1-or-later.<ref name="site-top" />

libsndfile is used, for example, by audio-editing software such as Audacity and Adobe Audition<ref name=adobe/> and the MP3 encoder LAME.<ref>[https://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/history.html LAME changelog]</ref>

==See also== {{Portal|Free and open-source software}}

*AIFF *ExifTool {{endash}} utility for managing the metadata in bitmap and audio files and also PDF files *Pulse-code modulation *WAV

==References== {{Reflist}}

==External links== *{{Official website}} *[http://tontonth.free.fr/libsound77.html Fortran77 interface] *[http://www.mega-nerd.com/SRC/ Secret Rabbit Code Sample Rate Converter]

{{Compression Software Implementations}} {{Compression formats}}

Category:Audio libraries Category:C (programming language) libraries Category:Free audio codecs Category:Free computer libraries

{{Multimedia-software-stub}} {{Compu-library-stub}}