We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Has anyone succeeded in doing this? I'm able to draw both a static waveform and an animated playhead, but each time the playhead is drawn, it remains on the screen, so the end result is a giant bar that hides the waveform.
I've tried putting the waveform.draw() call in the draw() function, but it's too time costly, and the playhead skips significantly. Just want to get a simple thin vertical bar that moves across the waveform, like in the http://wavesurfer-js.org/ demo.
Answers
See if this can help you
http://stackoverflow.com/questions/23569117/change-object-by-pressing-button-while-showing-animation/23574355#23574355
Thanks! Went with a mixture of the first and third options, works perfectly!