Replies: 5 comments 7 replies
-
I have been working on creating a DAW on browser using this library and React. WaveSurfer allows us to add custom filters using wavesurfer.setFilters([]) but it does not re render the waveform to show the applied filter. |
Beta Was this translation helpful? Give feedback.
-
yes the effects would result in redrawing the peaks but the goal of these effects would be to make them work for both MediaElement and WebAudio |
Beta Was this translation helpful? Give feedback.
-
It never occurred to me that effects may actually change the shape of the waveform, but it's a very valid point. Btw, what negative effects on the UX do you foresee, @prakharpbuf? |
Beta Was this translation helpful? Give feedback.
-
Speaking of fade-in/fade-out, that should indeed already be possible with setFilters (basically an envelope on a gain node), but now I understand why #2689 was implemented via setVolume – to make it work for the MediaElement. Still think it should probably be a plugin, tho. |
Beta Was this translation helpful? Give feedback.
-
I've made an Envelope plugin, it's a graphical way to set fade-in and fade-out points, as well as to control the overall volume: https://wavesurfer-ts.pages.dev/tutorial/#/examples/envelope.js |
Beta Was this translation helpful? Give feedback.
-
Allow for effects to be applied to the audio for example
fade in
fade out
via options on render.Beta Was this translation helpful? Give feedback.
All reactions