BLE with esp32_basic_synth #86
-
Hi Marcel, First of all thanks for these modules! #ifdef BLE_MIDI Did you already implement BLE? I can't find any related functions in the other modules. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hi Joost, you are welcome. |
Beta Was this translation helpful? Give feedback.
-
Hi Marcel, Thanks for your swift reply. Yes, I was afraid that the Bluetooth overhead might take too much cpu time. Still, I thought of giving it a try. Using an additional ESP for communication is feasible although I might go directly from the RPi that acts as a BLE midi server at the moment. I'll give it some thought and maybe some expiriments. Which BLEMidi library did you use? |
Beta Was this translation helpful? Give feedback.
-
Hi Marcel, Just to keep you updated; I've tried using BLE Midi with your basic synth organ example (wow, your Github is like a candy store; so many great repos) and it's working fine. I'll post in that repo with updates. But for now; I temporarily disabled all the midi logic I could find. I've used https://github.com/lathoub/Arduino-BLE-MIDI as a lib. Ran the Bluetooth process on core0 together with the terminal and haven't found any hiccups yet. And called the noteOn/noteOff directly. I've you want more info please let me know. |
Beta Was this translation helpful? Give feedback.
-
Hi Marcel, Ok, thanks. I'm still using v1.0.6 of the ESP boardmanager. If it's easy to roll back I could check v2? |
Beta Was this translation helpful? Give feedback.
Hi Joost,
you are welcome.
Yes I tried some experiments with BLE. The problem seems that the activation of Bluetooth requires to much processing time and makes it impossible to drive the synthesizer at the same time. If you have a second ESP32 you can setup it as a receiver and just push out the serial data.
I have a little project with three ESP32 (Synth, Bluetooth RX->MIDI, MIDI->Bluetooth Tx) in my queue. It could be an option.