ADPCM implementation works now