r/learnjavascript • • Jun 24 '20

I made a highly customizable Audio Visualizer!

448 Upvotes

39 comments sorted by

View all comments

Show parent comments

2

u/Alwayswatchout Jun 24 '20

Tried to use while listening to something on YouTube. Dont seem to work. What I am doing wrong :s

3

u/[deleted] Jun 24 '20

Hmm, strange.If you're using chrome, you got to click anywhere on the page first, maybe that?

Chrome requires some initial user gesture to fire audioContext. Or maybe your browser's blocking mic access to the page? let me know if it works!

2

u/Jorgepasco1 Jun 25 '20

Maybe you could include a Tap to start button for Chrome?

1

u/[deleted] Jun 25 '20

yes that is a good idea, I will implement that! Do you have any other features in mind I could work on?