acidcat ~ Audio File Forensics


A pure-Python inspector, editor, and forensic tool for audio files and synth/DAW presets: read the metadata, decode the format structure byte by byte, flag anomalies, repair broken containers, and identify how a file was made.

Reads BPM, key, duration, tags, and format info from WAV, AIFF, MP3, FLAC, OGG, Opus, M4A, MIDI, and Serum presets. Also structurally decodes Bitwig (.bwpreset/.bwclip), Native Instruments (Massive/Absynth/Kontakt/NKS/KORE), Vital, NCW, SoundFont (SF2/SF3), tracker modules (MOD/XM/IT), MP4, VST FXP, ReCycle RX2, and RMID containers via inspect. Beyond reading: repair and validate fix and check container structure (stale sizes, offset tables, counts, pad bytes) without touching a byte of audio, and audit gives a forensic verdict (structure, integrity, hidden data, and the writing tool). One pure-Python dependency (mutagen); the native inspect walkers need nothing. Optional librosa analysis for BPM/key detection and ML feature extraction.

Also ships per-library SQLite indexes (acidcat index) tracked in a small global registry, plus an MCP server (acidcat-mcp) so an LLM can query your whole collection across libraries by bpm, key, tags, or full-text.

github.com/hed0rah/acidcat
github.com/hed0rah/acidcat-playground
www.databurn.org

DXD-e ~ Experimental DXD Audio Format


This is a library that implements a proposed digital audio intermediary format, called DXD-e, that allows audio player and workstation applications to handle DSD (Direct Stream Digital) audio with only minor modifications to their input and output plugins. This is accomplished by embedding the original 1-bit DSD audio stream, along with a digital pilot signal, into a conventional decimated 24-bit PCM version of the DSD stream (which is known otherwise as DXD). This embedding consumes the 9 LSBs of each 24-bit sample (8 for the DSD and 1 for the pilot) while noise-shaping filters are employed to completely bury the resulting noise underneath the existing high-frequency DSD quantization noise always found in a DXD stream. In short, the DXD stream is made to hold a lossless copy of the original DSD stream without any degradation.

github.com/dbry/DXD-e
hydrogenaudio.org/index.php/topic,129787.0

iamf-tools ~ Immersive Audio Model & Format Utilities


iamf-toolsΒ implements tools to help users process and work with the IAMF format. These tools can be used as a complement to theΒ libiamfΒ reference decoderΒ and other tools such asΒ ffmpegΒ andΒ MP4Box.

github.com/AOMediaCodec/iamf-tools

References:

aomediacodec.github.io/iamf
en.wikipedia.org/wiki/Alliance_for_Open_Media

Resources:

chromestatus.com/feature/5113656292540416

SDIF ~ Sound Description Interchange Format


The Sound Description Interchange Format (SDIF) is an established standard for the interchange of sound descriptions and analysis data. This project provides libraries, SDIF (in C) and Easdif (in C++), tools, and wrappers to read and write SDIF files.

sourceforge.net/projects/sdif
cnmat.berkeley.edu/library/sdif
en.wikipedia.org/wiki/SDIF
groups.google.com/g/sdif-forum

Audio File Formats ~ A Clear & Practical Guide


Audio file formats are digital containers used to store sound. They differ in how they handle compression, how widely they are supported, and what they are best used for. At a high level, audio formats fall into three primary categories: uncompressed, lossless compressed, and lossy compressed. In addition, there are physical audio formats that remain relevant for distribution and archival purposes.

Uncompressed Formats

Uncompressed formats such as WAV, AIFF, and BWF store audio data without any reduction or loss. This means they preserve the full fidelity of the original recording, but at the cost of large file sizes.

Because no data is discarded, these formats are the standard in professional environments. They are widely used in recording, editing, mastering, and archival workflows where accuracy and compatibility with studio software are critical. Broadcast Wave Format (BWF), for example, extends WAV with metadata support for professional and broadcast use.

Lossless Compressed Formats

Lossless formats such as FLAC, ALAC, and WavPack reduce file size, often by up to 60%, without sacrificing any audio quality. They achieve this by compressing the data in a way that can be perfectly reconstructed during playback.

These formats are ideal for personal music libraries and long-term storage. They retain the original sound while using significantly less disk space than uncompressed formats.

FLAC, Free Lossless Audio Codec, is open-source and widely supported across platforms and devices. ALAC, Apple Lossless Audio Codec, is Apple’s royalty-free alternative, used within Apple Music and iTunes ecosystems. WavPack offers additional flexibility, including hybrid modes that combine lossy and correction data.

Lossy Compressed Formats

Lossy formats such as MP3, AAC, Opus, and Vorbis achieve much smaller file sizes by removing audio data that is considered inaudible or less perceptually important. This results in some loss of quality, though often minimal at higher bitrates. These formats are ideal for portable devices where file size matters and audio quality is still adequate for ordinary enviroments.

MP3 remains the most widely recognized and used format for audio file compression, music sharing and general compatibility. AAC typically delivers better sound quality than MP3 at the same bitrate and is used by platforms such as Apple Music and YouTube. Opus is designed for efficiency and low latency, making it well suited for real-time applications like VoIP and live streaming. Vorbis, commonly used in Ogg containers, is an open alternative with solid quality and flexibility.

Physical Audio Formats

Physical formats, including vinyl records, cassette tapes, compact discs, CDs, DVD-Audio, and SACD, store audio on tangible media, either in analog or digital form.

Compact discs, CDs, based on the Red Book standard, 16-bit, 44.1 kHz PCM, remain one of the most common physical formats. Higher resolution formats such as SACD, DSD-based, and Blu-ray Audio support higher bit depths and multichannel audio.

For long-term preservation, redundency, archival-grade M-DISC and lossless digital files are all recommended.


Recommended Usage

For modern workflows, choosing the right format depends on the balance between quality, storage, and compatibility:

  • Use FLAC or ALAC for high-quality personal libraries and archiving
  • Use MP3 or AAC for portable devices and online sharing
  • Use WAV or AIFF for professional audio production and editing
  • Use Opus for web-based audio, streaming, and real-time communication

Each format has a clear role. Understanding these roles allows you to build a workflow that preserves quality where it matters and saves space where it doesn’t.

References:

An audio codec is a device or computer program capable of coding or decoding a digital data stream of audio. ~ en.wikipedia.org/wiki/Audio_codec

en.wikipedia.org/wiki/List_of_codecs
en.wikipedia.org/wiki/Codec_listening_test
en.wikipedia.org/wiki/Open_source_codecs_and_containers
digitalpreservation.gov/personalarchiving/audio