Can't hear any sound on Chromium based browsers
Opened this issue · 9 comments
I tried the example keyboard on https://jazz-soft.net/demo/PianoStyle.html, but I can't hear any sound on Chromium based browsers. Firefox and Webkit works fine.
Thanks for letting me know...
So far it works for me in all browsers.
Will keep trying to reproduce the error...
@jazz-soft Maybe this helps: On Firefox I get the following message when visiting the homepage:
I can click the piano keys, but I can only really hear the piano sound after dismissing the dialog (e.g. by clicking on Cancel). On Chromium I don't get a message like this I could dismiss.
@jazz-soft On Chromium 120 I was able to find the following error message using the Web Dev Tool:
Deprecated feature used
Web MIDI will ask a permission to use even if the sysex is not specified in the MIDIOptions.
1 source
jzz:7
Common story... New "security features" kill the functionality...
I'll think what I can do...
Do any other demos work?
Of the examples, only the Select MIDI example works, when I select "HTML Piano" for MIDI In and "Web Audio" for MIDI Out.
Same with this example, it works after selecting "Web Audio" for MIDI Out.
Also all examples under JZZ modules work fine.
Testing on Chrome 120.0.6099 on Windows, everything works.
Just for the case if it matters, I don't have any connected MIDI devices on the computer I'm testing.
I'm on Linux and also have not connected any MIDI devices.
Please reload the page. I hope I've fixed it.
Just tested again with cleared cache and it still doesn't work on Chromium and I get the same Deprecated feature used
error message as mentioned above.
I also updated my local JZZ version to 1.7.7, but I don't hear any sound and I get the same error message.