react-waves icon indicating copy to clipboard operation
react-waves copied to clipboard

change color of wave by start and end time

Open zahraHaghi opened this issue 4 years ago • 2 comments

is there a way to change color of wave. by giving start and end time?for example from 2 to 5 seconds is blue, from 6 to 10 is red and ..

zahraHaghi avatar Feb 02 '21 08:02 zahraHaghi

@dschoon

zahraHaghi avatar Feb 05 '21 11:02 zahraHaghi

Hi @zahraHaghi

The option to explicitly change the waveform color with respect to start and end times may not to available as a feature but you can modify the waveColor accordingly here (provided the license allows you to modify) and build the wrapper separately

@dschoon please clarify if this is the right way to do this

React-waves is a React wrapper for wavesurfer.js and this request can be only addressed to wavesurfer.js

Hope this help 🙂

rejochandran avatar Feb 09 '21 11:02 rejochandran