Redrawing the waveform with new peaks, new Audiobuffer? #3787
Answered
by
katspaugh
Slatvinskyi
asked this question in
Q&A
-
Hi, i would like ask is it possible to redraw the waveform with new peaks after it was already initialized without destroying the Wavesurfer instance? I tried to re-render it this way: wavesurfer.setOptions({ It changes other options, color, width, but peaks remain the same. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
katspaugh
Jul 17, 2024
Replies: 1 comment 1 reply
-
You can "load" new peaks like this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Slatvinskyi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can "load" new peaks like this: