/SimpleDCTMusic

Compression of Music with the DCT, done simply for embedded architectures

Primary LanguageCThe UnlicenseUnlicense

SimpleDCTMusic

Compression of Music with the DCT, intended for use on embedded architectures. Music should be 16bit integer little endian, signed stereo audio

Compiling

g++ -o SimpleDCT SimpleDCT.c

Usage

Where input.whatever is your audio file:

ffmpeg -i input.whatever -f s16le -acodec pcm_s16le input.raw
./SimpleDCT e input.raw compressed.raw
# Here you can use the compressed audio, "compressed.raw"

# To decompress it into "processed.wav":
./SimpleDCT d compressed.raw decompressed.raw
ffmpeg -f u16le -ar 22050 -ac 2 -i decompressed.raw processed.wav