libsndfile/libsndfile
A C library for reading and writing sound files containing sampled audio data. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 95
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5344
- days_rel: n/a
- days_push: 32
- n_releases_24m: 0
Adoption not part of the score
1711 stars · 459 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libsndfile is a C library for reading and writing files containing sampled audio data, such as WAV and AIFF, through a single standard API. It supports many formats including Ogg/Vorbis, FLAC, and MP3, with on-the-fly format conversion and cross-platform builds via Autotools or CMake.
Use cases
- read and write wav files in c
- convert audio file formats programmatically
- read flac files from a native application
- write aiff audio from my software
- decode ogg vorbis audio in a c program
- library for reading sampled audio data
When to choose
- you need a mature, widely portable C library for audio file I/O
- you must support many sound file formats through one API
- you need endian-safe reading of WAV and AIFF files
When to avoid
- you need real-time audio playback or recording rather than file I/O
- you want a high-level audio framework with effects and mixing
- your project cannot accept LGPL licensing
Facets
library · maturity stable
audio-processing file-system media developer-tools windows cross-platform cpp audio-i-o sound-file-formats wav aiff flac ogg-vorbis c-library audio linux macos
2 sources
- readme: https://github.com/libsndfile/libsndfile · fetched 2026-08-28 · 880617cc57b2
- homepage: http://libsndfile.github.io/libsndfile/ · fetched 2026-08-29 · cb5b3a7e8802
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| libsndfile/libsndfile | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="libsndfile/libsndfile")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem