Add a high-pass filter to get rid of the DC offset.
-rw-r--r-- 1887 decode.c
-rw-r--r-- 4637 synth.cpp