# adamstark/AudioFile

A simple C++ library for reading and writing audio files.

Repository: https://github.com/adamstark/AudioFile
Canonical: https://ross.abutalabs.com/products/audiofile
Language: C++
License: MIT
License Family: permissive
Topics: audio, file-format, wav, aif, audio-files, audio-formats, read, write
Last push: 2025-10-15T20:42:10+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 47, release rhythm 35, longevity 100
- inputs: {"age_days": 3500, "days_push": 322, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1146, forks 217 (observed 2026-08-28T04:03:45.795012+00:00)

## What it is
A simple header-only C++ library for reading and writing audio files, supporting WAV and AIFF formats. It provides easy access to audio metadata, sample buffers, and file saving/loading.

## Use cases
- read wav files in c++
- write aiff audio files
- load audio samples into a buffer
- get sample rate and bit depth of an audio file
- generate and save audio programmatically
- convert between wav and aiff

## When to choose
- you need a lightweight, header-only C++ solution for WAV/AIFF I/O
- you want simple direct access to audio sample data without heavy dependencies
- you need MIT-licensed audio file handling in a C++ project

## When to avoid
- you need support for formats beyond WAV and AIFF, such as MP3, FLAC, or OGG
- you require advanced audio processing like effects or resampling
- you are working outside C++

## Facets
- artifact type: library
- maturity: stable
- function: audio-processing, file-system, parser
- domain: files, developer-tools
- platform: cpp, cross-platform
- tags: header-only, wav, aiff, audio-files, audio

## Member repositories
- adamstark/AudioFile (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:45.795012+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:34:09.735320+00:00, confidence not recorded.
  - readme: https://github.com/adamstark/AudioFile (fetched 2026-08-28T04:03:45.795012+00:00, sha 2c42360959c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
