I have a use case where I need access to the raw MIDI packets sent by a MIDI device.
Specifically I’d like to circumvent the part of the platform code where the library buffers data to wait for every part of a SysEx transfer to be received first before forwarding it to Flutter.
I'm working with samplers from the `80s where not all parts of the MIDI specifications was formalized, so it's crucial to be able to access incoming data without any buffering.
I've implemented a solution with the following goals in mind:
- Since this is a very specific, advanced use case it should not affect existing code using the library
- I've added a flag to enable "raw MIDI data receiving", which by default is set to
false
- When enabled it forwards every MIDI packet as received without processing of buffering it first
I've implemented this by modifying the platform interface and added the platfrom specific implementation for iOS here:
#110
InvisibleWrench/flutter_midi_command_platform_interface#2
Let me know what you think, thanks.
I have a use case where I need access to the raw MIDI packets sent by a MIDI device.
Specifically I’d like to circumvent the part of the platform code where the library buffers data to wait for every part of a SysEx transfer to be received first before forwarding it to Flutter.
I'm working with samplers from the `80s where not all parts of the MIDI specifications was formalized, so it's crucial to be able to access incoming data without any buffering.
I've implemented a solution with the following goals in mind:
falseI've implemented this by modifying the platform interface and added the platfrom specific implementation for iOS here:
#110
InvisibleWrench/flutter_midi_command_platform_interface#2
Let me know what you think, thanks.