Hypnos Active Member Licensed User Longtime User Sep 19, 2017 #1 I would like to improve my midi drum B4R project to use MIDI over BLE: https://www.b4x.com/android/forum/threads/b4r-arduino-midi-drum.80114/#post-507311 I found some info for the ESP32 MIDI over BLE on this URL: https://github.com/neilbags/arduino-esp32-BLE-MIDI https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/ArduinoBLE.md In order to use BLE-MIDI in B4R, am I need a B4R library for the ArduinoBLE ? Thanks!
I would like to improve my midi drum B4R project to use MIDI over BLE: https://www.b4x.com/android/forum/threads/b4r-arduino-midi-drum.80114/#post-507311 I found some info for the ESP32 MIDI over BLE on this URL: https://github.com/neilbags/arduino-esp32-BLE-MIDI https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/ArduinoBLE.md In order to use BLE-MIDI in B4R, am I need a B4R library for the ArduinoBLE ? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Sep 19, 2017 #2 Hypnos said: In order to use BLE-MIDI in B4R, am I need a B4R library for the ArduinoBLE ? Click to expand... Yes. Such a library is still not available. For now you can use HM 10 module: https://www.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/#content Upvote 0
Hypnos said: In order to use BLE-MIDI in B4R, am I need a B4R library for the ArduinoBLE ? Click to expand... Yes. Such a library is still not available. For now you can use HM 10 module: https://www.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/#content
Hypnos Active Member Licensed User Longtime User Sep 19, 2017 #3 Erel said: Yes. Such a library is still not available. For now you can use HM 10 module: https://www.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/#content Click to expand... Thank you Erel! Currently I purchased a little MIDI BLE device (see pic) and this device connected to my UNO board and it can communicate my iDevice without MIDI cable (GarageBand - MIDI over BLE). What my thought is, it should be able just using a single ESP32 without any extra device. I can store my program to ESP32 and use the build in BLE communicate with my iDevce. It will be good and I can make my project so small. (I have few midi projects idea) Hopefully we can have the library available in the future so we can use the ESP32 BLE directly. I will try HM10 or the Arduino 101 (rCurieBLE) but seems it will be hard for me, need sometime to explore and read the examples in this forum and also learn the MIDI over BLE protocol, if someone here have any idea how to implement midi over BLE using B4R, please let me know : ) Upvote 0
Erel said: Yes. Such a library is still not available. For now you can use HM 10 module: https://www.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/#content Click to expand... Thank you Erel! Currently I purchased a little MIDI BLE device (see pic) and this device connected to my UNO board and it can communicate my iDevice without MIDI cable (GarageBand - MIDI over BLE). What my thought is, it should be able just using a single ESP32 without any extra device. I can store my program to ESP32 and use the build in BLE communicate with my iDevce. It will be good and I can make my project so small. (I have few midi projects idea) Hopefully we can have the library available in the future so we can use the ESP32 BLE directly. I will try HM10 or the Arduino 101 (rCurieBLE) but seems it will be hard for me, need sometime to explore and read the examples in this forum and also learn the MIDI over BLE protocol, if someone here have any idea how to implement midi over BLE using B4R, please let me know : )
M miker2069 Active Member Licensed User Longtime User Sep 24, 2017 #4 Out of curiosity are you running the existing version of your program on an ESP32? If so how's the experience? Upvote 0
Out of curiosity are you running the existing version of your program on an ESP32? If so how's the experience?
Hypnos Active Member Licensed User Longtime User Sep 25, 2017 #5 miker2069 said: Out of curiosity are you running the existing version of your program on an ESP32? If so how's the experience? Click to expand... My existing project is running on UNO, for the ESP32, I haven't try it yet.. Upvote 0
miker2069 said: Out of curiosity are you running the existing version of your program on an ESP32? If so how's the experience? Click to expand... My existing project is running on UNO, for the ESP32, I haven't try it yet..
Hypnos Active Member Licensed User Longtime User Feb 26, 2018 #6 Hi Erel and All, Finally I can find the MIDI over BLE working example for ESP32 from the net (see attached), the program work well and I can send MIDI message from ESP32 to iPhone GarageBand. Can anyone help me translate the C code to B4R or make a BleMIDI library based on the code? The C code looks like simple but unfortunately I know nothing about C... Thanks a lot ! Attachments MyDrum32.zip MyDrum32.zip 3 KB · Views: 821 Upvote 0
Hi Erel and All, Finally I can find the MIDI over BLE working example for ESP32 from the net (see attached), the program work well and I can send MIDI message from ESP32 to iPhone GarageBand. Can anyone help me translate the C code to B4R or make a BleMIDI library based on the code? The C code looks like simple but unfortunately I know nothing about C... Thanks a lot !