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

Can't hear any sound on Chromium based browsers #7

Open
AgentSmith0 opened this issue Dec 10, 2023 · 9 comments
Open

Can't hear any sound on Chromium based browsers #7

AgentSmith0 opened this issue Dec 10, 2023 · 9 comments

Comments

@AgentSmith0
Copy link

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.

@jazz-soft
Copy link
Owner

Thanks for letting me know...
So far it works for me in all browsers.
Will keep trying to reproduce the error...

@AgentSmith0
Copy link
Author

@jazz-soft Maybe this helps: On Firefox I get the following message when visiting the homepage:
Screenshot_20231211_151444
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.

@AgentSmith0
Copy link
Author

@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

@jazz-soft
Copy link
Owner

Common story... New "security features" kill the functionality...
I'll think what I can do...
Do any other demos work?

@AgentSmith0
Copy link
Author

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.

@jazz-soft
Copy link
Owner

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.

@AgentSmith0
Copy link
Author

I'm on Linux and also have not connected any MIDI devices.

@jazz-soft
Copy link
Owner

Please reload the page. I hope I've fixed it.

@AgentSmith0
Copy link
Author

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.

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