Fix constant mode encoding with audio

Closes #67