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

Error on android #3

Open
andyste1 opened this issue Sep 1, 2022 · 0 comments
Open

Error on android #3

andyste1 opened this issue Sep 1, 2022 · 0 comments

Comments

@andyste1
Copy link

andyste1 commented Sep 1, 2022

Hi, when I open the test app on my Android phone (Pixel 6, v12, Chrome), I get the following error: "Failed to get midi access. Security error: an attempt was made to break through the security policy of the user agent". I guess something on my phone is preventing your web page from accessing the device hardware?

Also, if I can ask another (unrelated) question: I notice in your index.html file that selecting a sound involves send three commands: bank msb, bank lsb, program change. I assume they have to be in that order? The reason I ask is that I'm trying to send these same three commands using an android app called "Midi Commander", but it's not working. After sending the commands, pressing the keys on my FP10 continues to play the default piano tone.
I don't know if it's a problem with this android app (perhaps not sending the commands in the correct order), or if there are additional midi commands that I've not spotted in your source, that must also be sent in order for the above three commands to work?

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

1 participant