Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to mute audio #10

Open
Samuel-Momoh opened this issue Oct 3, 2020 · 1 comment
Open

How to mute audio #10

Samuel-Momoh opened this issue Oct 3, 2020 · 1 comment

Comments

@Samuel-Momoh
Copy link

I already build an html5 audio player with controls playing the song and i just need the visualization how do i stop the audio from wave js without stopping the rendering of the visualization

@kelvinau
Copy link
Owner

kelvinau commented Oct 4, 2020

Not connecting the source node to the destination will not have the sound played.

i.e. not executing this line
https://github.com/kelvinau/circular-audio-wave/blob/master/src/js/circular-audio-wave.js#L324

Feel free to submit a PR to add an option to mute the audio :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants