CITATION — REFERENCE ENTRY
Free Lossless Audio Codec (FLAC) — Internet Engineering Task Force
- Key
- rfc9639-flac
- Authors
- van Beurden, M.Q.C.; Weaver, A.
- Issued
- 2024-12
- Type
- report
- Publisher
- Internet Engineering Task Force
- DOI
- 10.17487/RFC9639
Raw CSL JSON
{
"DOI": "10.17487/RFC9639",
"URL": "https://www.rfc-editor.org/rfc/rfc9639",
"type": "report",
"title": "Free Lossless Audio Codec (FLAC)",
"author": [
{
"given": "M.Q.C.",
"family": "van Beurden"
},
{
"given": "A.",
"family": "Weaver"
}
],
"issued": {
"date-parts": [
[
2024,
12
]
]
},
"number": "RFC 9639",
"publisher": "Internet Engineering Task Force",
"collection-title": "Request for Comments"
}
Claims
-
FLAC reduces the storage needed for digital audio without losing information. It is free in that its specification is open and its reference implementation open source, has low complexity, and can be encoded and decoded without floating-point arithmetic. It handles PCM audio with 1 to 8 channels, sample rates up to 1,048,575 Hz and 4 to 32 bits, though most tools are optimized for CD audio.
"FLAC is designed to reduce the amount of computer storage space needed to store digital audio signals. ... It does this losslessly, i.e., it does so without losing information. ... FLAC is free in the sense that its specification is open and its reference implementation is open source. ... Compared to other lossless audio coding formats, FLAC is a format with low complexity ... and both encoding and decoding can be implemented without needing floating-point arithmetic. ... FLAC files and streams can code for pulse-code modulated (PCM) audio with 1 to 8 channels, sample rates from 1 to ... 1048575 hertz, and bit depths from 4 to 32 bits. ... Most tools for coding to and decoding from the FLAC format have been optimized for CD-audio"
-
FLAC compresses because audio samples correlate strongly with their close neighbours; unlike general-purpose compressors, it looks back at most 32 samples. It splits the input into blocks, can convert stereo to mid-side or similar forms to remove redundancy between channels, predicts each sample from the preceding ones, and codes the prediction error (the residual) losslessly with Rice coding.
"FLAC is able to achieve lossless compression because samples in audio signals tend to be highly correlated with their close ... neighbors. ... FLAC removes redundancy solely in the very short term, looking back at 32 samples at most. ... The input is split up into many contiguous blocks. ... the FLAC format allows for transforming the left-right signal into a mid-side signal, ... A predictor consists of a simple mathematical description that can be used, as the name implies, to predict a certain ... sample from the samples that preceded it. ... the difference between the original signal and the predicted signal (called the error or residual signal) is coded ... losslessly. ... FLAC uses Rice coding, a subset of Golomb coding"
Available in