0.8.0 prerelease #61
atsushieno
started this conversation in
General
Replies: 1 comment
-
There is now ktmidi |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have published version 0.7.0 only a few weeks ago, but the next version will be 0.8.0 because there will be another breaking API change that would break ABI too. It is on MidiAccess API this time, and source code wise it would affect only a few people because it is about MIDI 2.0 connection support that basically has not landed to the platforms (our ALSA support is not quite done yet, and our access to CoreMIDI is only via RtMidi which does not support MIDI2 yet, and CoreMidiAccess is still WIP and not working).
In particular, our
MidiPort
does not havemidiProtocol
property anymore. It has moved toMidiPortDetails
asmidiTransportProtocol
. It is to distinguish MIDI 1.0 bytestream and UMP, which is more and more likely pre-determined by each platform (Android and ALSA do so). Note that it is not to distinguish MIDI 1.0 protocol and MIDI 2.0 protocol in UMP (which affects which message types are allowed). The old property onMidiPort
was ambiguous to identify which is which.(We do not have the MIDI version information on each port, at least not yet. In the latest MIDI specification it is supposed to be done by each connection by exchanging UMP Stream Configuration messages. If we try to detect that, we will have to "inspect" the messages. If we do that, it is not going to be "stream content agnostic" anymore, unlike Web MIDI API or PortMIDI.)
I have not gone forward to implement platform MIDI access API because the only backend we could work on is ALSA. But now that we have Android 15 preview that offers MidiDeviceService for UMP, I think it's time to move on.
Beta Was this translation helpful? Give feedback.
All reactions