-
Notifications
You must be signed in to change notification settings - Fork 51
Sysex access information in MIDIPort? #136
Copy link
Copy link
Open
Labels
Needs Editshttps://speced.github.io/spec-maintenance/about/https://speced.github.io/spec-maintenance/about/Priority: Soonhttps://speced.github.io/spec-maintenance/about/https://speced.github.io/spec-maintenance/about/category: new featurehttps://www.w3.org/policies/process/#class-4https://www.w3.org/policies/process/#class-4
Milestone
Metadata
Metadata
Assignees
Labels
Needs Editshttps://speced.github.io/spec-maintenance/about/https://speced.github.io/spec-maintenance/about/Priority: Soonhttps://speced.github.io/spec-maintenance/about/https://speced.github.io/spec-maintenance/about/category: new featurehttps://www.w3.org/policies/process/#class-4https://www.w3.org/policies/process/#class-4
Due to the fact that a MIDIPort object can outlive a MIDIAccess object, we could have ports that are created, but whether or not they support sysex is opaque unless you actively open and call send on them with a sysex message. It also means that we could fall into issues like ports being created between two MIDIAccess objects with differing sysex permissions, and having a problem telling which is which.
I have no idea exactly how you'd get into that situation, but it could happen with the way I'm translating the spec as it is at the moment. Would it be worth it to push that info into ports, or is that overkill?