Simply set the rtl option to true.
rtl
true
var wavesurfer = WaveSurfer.create({ container: document.querySelector('#wave'), rtl: true });