adding encoder like adpcm