Flacgain High Quality Site

Code and dataset under MIT license. This is a conceptual paper. FLACgain is not an existing standard but is technically feasible within the FLAC specification (via reserved metadata block IDs).

[ y[n] = x[n] \cdot 10^g[i]/20 ]

We invite implementation in ffmpeg, sox, and open-source players. A reference Python library and a set of 50 test samples (classical, jazz, electronic, field recordings) are available at https://github.com/example/flacgain . flacgain