waveform.js: make sure the pipeline is mono