Arduino-BLE-MIDI
Arduino-BLE-MIDI copied to clipboard
decuple from midi transport?
I'd like to use this library, but I have my own midi handling code. Is there an easy way to decouple this from Arduino-MIDI-Library ?
I'd like to get access to the bytes coming in on the characteristic, and pass them to my own midi parsing lib.
thank you!
Hi @marchingband
Look at https://github.com/lathoub/Arduino-BLE-MIDI/blob/929c2fc04962672ddba903a618601bea44ee1f3e/src/BLEMIDI_Transport.h#L26-L27
T is the Arduino-MIDI-Library, so you could replace it with your (albeit you need to implement begin(), end(), available(), ...)