Zooming Feature Example

How to Zoom


var wavesurfer = WaveSurfer.create({
    container: document.querySelector('#wave'),
    backend: 'MediaElement'
});

document.querySelector('#slider').oninput = function () {
    wavesurfer.zoom(Number(this.value));
};

Fork me on GitHub