Skip to content
/ NARU Public

(experimental) Natural-gradient AutoRegressive Unlossy Audio Compressor

License

Notifications You must be signed in to change notification settings

aikiriao/NARU

Repository files navigation

eclint C/C++ CI

NARU

Natural-gradient AutoRegressive Unlossy audio compressor

THIS IS AN EXPERIMENTAL CODEC. CURRENTLY SUPPORTS 16-bit/sample WAV FILE ONLY.

How to build

Requirement

Build NARU Codec

git clone https://github.com/aikiriao/NARU.git
cd NARU/tools/naru_codec
cmake -B build
cmake --build build

Usage

NARU Codec

Encode

./naru -e INPUT.wav OUTPUT.nar

you can change compression mode by -m option. Following example encoding in maximum compression (but slow) option.

./naru -e -m 4 INPUT.wav OUTPUT.nar

Decode

./naru -d INPUT.nar OUTPUT.wav

License

MIT