A C# implementation of the Quite OK Audio (QOA) format. This tool allows for encoding WAV files into QOA and decoding QOA files back into WAV.
This project is built upon the work of the QOA community:
-
Format Specification: qoaformat.org
The QOA format is a fast, lossy audio compression format with a very small reference implementation. -
Transpilation Source: github.com/pfusik/qoa-fu
The core logic inQOA.csis based on the transpiled source code from Piotr Fusik'sqoa-furepository.
This project is a command-line interface (CLI) tool.
Encodes a 16-bit PCM WAV file into a QOA file.
QOATool wav2qoa <input.wav> <output.qoa> [options]Options:
| Option | Description |
|---|---|
-m, --mono |
Downmix the audio to mono before encoding |
Examples:
# Standard conversion
QOATool wav2qoa music.wav music.qoa
# Convert to mono
QOATool wav2qoa stereo.wav mono.qoa -mDecodes a QOA file back into a 16-bit PCM WAV file.
QOATool qoa2wav <input.qoa> <output.wav>Example:
QOATool qoa2wav music.qoa music_decoded.wavUnsigned binary releases are available for your convenience, but you are encouraged to build this project from source.
The QOA.cs file is based on code licensed under the MIT License. See the source files for specific license headers.
The additional code in this repository is licensed under the MIT License. See the included license file for details.