Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Improved ADPCM encoder (Read 3265 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Improved ADPCM encoder

I was recently working on an industrial project that used DVI/IMA ADPCM to store canned audio samples. I was noticing some artifacts in some of the samples and thought that the dynamic noise shaping from WavPack lossy would make a big improvement, and it did. I also implemented a lookahead feature to find the optimum coding based on future samples (ffmpeg has this too, enabled with the -trellis option, although the implementations are different).

Anyway, this all works pretty well together so I decided to package it up and put it on Github in case anyone else might find it useful. ADPCM is not a generally useful format any more, but I understand it's still used in some applications like games and it's nice for some embedded projects because the decoder requires no multiplies and fits in just a few dozen lines of C code! And it seems that just about everything that handles WAV files will plays them.

The Github project includes binaries for Windows and Mac. This version is slightly newer than the one I posted here.

edit: typo