Skip to content

How to connect wavesurfer with Tone.js #3024

Answered by corysimmons
battistar asked this question in Q&A
Discussion options

You must be logged in to vote

The problem was the mediaNode in mediaNode.connect(filter) is an instance of the native implementation and I needed to use Tone.connect instead. 😬 🤦

I'm currently working on a slightly larger example that will allow you to scrub around a timeline and have effects applied/removed in realtime. Once that's ready I'll post it somewhere for posterity.

Update: Here ya go. This combines Wavesurfer and Tone so you can add whatever effects you want and scrub the timeline to have those effects applied in realtime.

https://gist.github.com/corysimmons/00e0e458b253d415a7537e44c002fd9b

Thank you for your help @katspaugh and @marcelblum ! <3

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@omerman
Comment options

Comment options

You must be logged in to vote
5 replies
@katspaugh
Comment options

@corysimmons
Comment options

@corysimmons
Comment options

@corysimmons
Comment options

Answer selected by katspaugh
Comment options

You must be logged in to vote
1 reply
@corysimmons
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants