No audio using different .js api's in firefox 12 on linux
Hi I am in the process of porting a c/c++ synthesizer into html5 and js. Trying to find usable api's I noticed that none of them produced any sound output in firefox. Tested the same api's in Chromium with no issues.
http://niiden.com/orbisyn/ using audiolib http://jams.no.de/ using audiolib
https://github.com/oampo/Audiolet
https://github.com/k9/HTML5-Synth
https://github.com/janesconference/Voron using KievII
I am thinking it has to do with the Audio Data API but it has been tested and should work with Firefox 4+
All Replies (9)
hello, the sound on the first two links plays fine here (on firefox 14). make sure that noscript or adblock aren't filtering js on those sites... (edit: i'm on windows, not sure if this might make a difference)
https://support.mozilla.org/en-US/kb/Video%20or%20audio%20does%20not%20pl...
Izmjenjeno
both adblock and noscript has been disabled. It is very possible that this issue only affects linux users. It would be nice with some more test results from other Linux users. Thanks for helping narrowing the issue
The first two links work for me on Linux (OpenSUSE 11.4) as well.
Create a new profile as a test to check if your current profile is causing the problems.
See "Basic Troubleshooting: Make a new profile":
If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
See:
Thanks for the interest and reply. Meanwhile it did not change anything on my side creating a new profile :(
I was thinking it could have something to do with alsa and jack but then Chromium would respond differently.
The only packages that has been installed with Firefox is Firefox itself. $pacman -Q firefox firefox 12.0-2
Firefox is a 32 bit application, so you may need to install 32 bit ALSA components.
I see an ALSA plugin listed in the GNOME Volume control.
just tested this on a vanilla install of Ubuntu 10.04 with alsa and Firefox 10.0.2 with no problems. Audiolet did have very lacky sound when multible sound sources was enabled, but it did produce some sound. Updating firefox to 12 did not change a thing. So I will try to run firefox verbose and see what comes out. be right back...
I feel you on that one. I just tested firefox in safemode and I was able to get sound response. This puzzles me because then the only thing that could cause the problem would be icedtea and/or flashplugin, right? Since adblock and noscript is disabled...
Izmjenjeno
& hardware acceleration is being disabled in safemode! you might try disabling it yourself in preferences > advanced > general...
interesting! Disabling hw acceleration producess clicks and pop but no actual sound