marchingband / wvr

Home of WVR, an open source, Arduino compatible, ESP32-based Sample Player and Audio Framework.
GNU General Public License v3.0
72 stars 9 forks source link

Feature request: MIDI over BLE #51

Open vamix2012 opened 2 years ago

vamix2012 commented 2 years ago

I have seen lots of BLE Midi projects, my accordeon also uses BLE Midi at this point, it would be cool if we can connect to the WVR via BLE, I have seen that every BLE capable microcontroller can send and recive MIDI messages, check this link :

https://github.com/lathoub/Arduino-BLE-MIDI/blob/master/examples/MidiBle_Client/MidiBle_Client.ino

And this guy shows how two esp32's are connected together via BLE:

https://youtu.be/UgI7WRr5cgE

Please tell me if that can be possible?

Thank you very much!

marchingband commented 2 years ago

This is awesome! Yes I'm sure it can be done. I'll make it a priority to try ASAP.

marchingband commented 2 years ago

So I have this working, it was very easy. The thing I am unsure of is, how does the WVR know what to connect to? Should it just initiate a connection to any other available MIDI BLE device?

marchingband commented 2 years ago

oh for crying out loud the BT stack is GIGANTIC, it adds almost 400kb to the binary size, WVR would need to have it's flash partitions changed in order to fit the drivers. This is a feature that I think will only be possible to add via Arduino IDE