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

no audio #10

Open
simbalion opened this issue Sep 16, 2016 · 1 comment
Open

no audio #10

simbalion opened this issue Sep 16, 2016 · 1 comment
Labels

Comments

@simbalion
Copy link

I'm using Firefox on Debian Jessie, and I don't get any audio from your app.
I think it might be a problem with my system, as I've had issues with audio in limited places before, but mostly it works. I was hoping you might be able to tell me what the requirements are for audio to work with your app, and then perhaps I could solve this problem I have.

@siggy
Copy link
Owner

siggy commented Sep 16, 2016

Hi @simbalion, appreciate the report. It's quite possible it's an issue with beatboxer, particularly if your system can play audio from other websites.

The APIs we're using to play sound are:
new(window.AudioContext || window.webkitAudioContext)()
..and if that fails fallback to:
new Audio(sounds[i]).play();

I'm learning that some audio APIs fare better than others with compatibility.

Some folks have recommended other audio APIs/libs, you may want to experiment with some:
http://www.w3schools.com/html/html5_audio.asp
https://howlerjs.com/

I'll keep iterating on my side as well. I may spin up a VM to try to repro your environment.

@siggy siggy added the bug label Sep 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants