Wavesurfer.js: Change audioRate dynamically?

Created on 27 Jun 2016  Â·  2Comments  Â·  Source: katspaugh/wavesurfer.js

I would like to add a button for the user to choose the playback speed, is it possible to change the audioRate dynamically via a method?

Thanks

question

Most helpful comment

Have you tried reading the docs before asking?

setPlaybackRate(rate) – Sets the speed of playback (0.5 is half speed, 1 is normal speed, 2 is double speed and so on).

All 2 comments

Have you tried reading the docs before asking?

setPlaybackRate(rate) – Sets the speed of playback (0.5 is half speed, 1 is normal speed, 2 is double speed and so on).

Apologies, I missed that one.

Was this page helpful?
0 / 5 - 0 ratings