Skip to content

aikiriao/AAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C/C++ CI GitHub release (latest by date) GitHub Release Date GitHub repo size GitHub all releases GitHub

AAD

Ayashi Adaptive Differential pulse code modulation encoder / decoder

This is a lossy audio codec inspired by IMA-ADPCM and ITU-T G.726.

Usage

How to build

git clone https://github.com/aikiriao/AAD.git
cd AAD
make

Endode/Decode

Encode

./aad -e INPUT.wav OUTPUT.aad

By default, AAD convert wav to 4-bit/sample ADPCM. Please use -b option to change bit/sample.

Example for 3-bit/sample encode:

./aad -e -b 3 INPUT.wav OUTPUT.aad

Decode

./aad -d INPUT.aad OUTPUT.wav

More applications

Type -h option to display usages for other modes.

./aad -h

License

Copyright (c) 2020 aikiriao Licensed under the WTFPL license.