Skip to content

aikiriao/SRLA

Repository files navigation

eclint C/C++ CI Repo size License

SRLA

aka Soleil Rising Lossless Audio codec

How to build

Requirement

Build SRLA Codec

git clone https://github.com/aikiriao/SRLA.git
cd SRLA/tools/srla_codec
cmake -B build
cmake --build build

Usage

SRLA Codec

Encode

./srla -e INPUT.wav OUTPUT.srl

Mode -m

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

./srla -e -m 4 INPUT.wav OUTPUT.srl

Max block size -B

You can change maximum block size by -B option. Following example encoding with maximum block size be 4096 sample.

./srla -e -B 4096 INPUT.wav OUTPUT.srl

Number of divisions in block -V

You can change number of division by -V option. Number of division specifies search depth of optimal block division. Following example encoding with number of divisions in block to be $2^{2} = 4$.

./srla -e -V 2 INPUT.wav OUTPUT.srl

Decode

./srla -d INPUT.srl OUTPUT.wav

Performance

We use RWC music dataset for comparison.

Decoding speed vs compression ratio

Decoding speed vs compression rate

Encoding speed vs compression ratio

Encoding speed vs compression rate

License

MIT