Skip to content

Error on android  #3

@andyste1

Description

@andyste1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions