Comments (11)
Hi Carlos,
I have the same problem. I resolve this, changing the BLEMidiClient.cpp file:
// I have an error on this line (null pointer, i think):
if(device.getServiceUUID().equals(BLEUUID(MIDI_SERVICE_UUID))) {
// Then I change for this code:
if (device.haveServiceUUID() && device.isAdvertisingService(BLEUUID(MIDI_SERVICE_UUID))) {
Please comment if you resolve your problem..
from esp32-ble-midi.
Hi everyone,
I have integrated the bug fix from @georaura into the library, and i have also implemented timestamps.
i have made a small release this morning, it is available in Platformio and Arduino IDE.
I will mark it as closed, but don't hesitate to contact me if you find some other bugs.
And happy new year !
from esp32-ble-midi.
Hi Maxime.
Merry chritsmas too !!
I'm using an HiLetgo ESP32 dev module to control an Avid Eleven Rack guitar effects connected through a midi BLE dongle (Doremidi model from Shenzhen Huashi Technology Company) . I send program change messages and with the code fix it works fine..
Thanks for the library...
from esp32-ble-midi.
@georaura I am going old school to control a TriAxis/2:90, Cmaj & Loop Switch I made. I am expanding forntoh/LcdMenu — although the 20x4 LCD is very limiting.
from esp32-ble-midi.
Hi Carlos,
I am happy to see that it is useful for you !
I think the error is in this line :
BLEMidiClient.begin("YamahaBT01");
In fact, the parameter you give to the "begin" function is the name you want to give to your ESP, not the name of the device you want to connect to. My example wasn't very clear.
Can you try to uncomment the debugging line just below and send me the output ?
best regards
Maxime
from esp32-ble-midi.
Hi Maxime, Thanks for your response.
Yeah, I tried BLEMidiClient.begin("ESP32-BLEMIDI") before, and uncommenting the debugger — crickets.
Even with verbose debugging the console just prints, "Initializing BLE" — but nothing else.
BTW, I am using the Adafruit Huzzah ESP32.
Also, I have been using another script, sans a nice class, that connects and sends MIDI to the BT01 dongle — but packaging multiple MIDI packets is where I am running into issues —— and that's where I started to look for a better alternative, possibly yours.
best,
\ carlos
from esp32-ble-midi.
Do you use Arduino IDE or PlatformIO ?
Can you send me the full log of the serial console ?
(I have copy/pasted your code, and it works, it detects my guitar amplifier)
It's weird because the Adafruit Huzzah seems to have the same chip... (I have mainly tested my lib with my NodeMCU ESP32-S v1.1).
from esp32-ble-midi.
from esp32-ble-midi.
Hi Carlos,
I am interested by the other messages, can you send me the complete log you get in the serial monitor ?
from esp32-ble-midi.
Hi georaura,
thanks for your feedback, and merry christmas !
Can you tell me what esp32 board you are using, and what midi device ?
from esp32-ble-midi.
@georaura Thanks for the fix — Yes, indeed this works on the Adafruit HUZZAH ESP32.
Happy Holidays!
from esp32-ble-midi.
Related Issues (20)
- MMC Play does not work HOT 2
- Windows using wrong driver for BT Server HOT 2
- Latency measurement
- Concurrently connect to two devices HOT 1
- turnThruOff HOT 1
- send syses message
- Hui Transport messages HOT 1
- Connection problems after reconnect HOT 1
- Thanks a lot HOT 1
- Request example HOT 3
- automatically disconnects after 5 seconds HOT 5
- No application detecting the device HOT 2
- Pitchbend HOT 2
- Issue / Question with running messages HOT 1
- Wish to subscribe to "subscription" events.
- Recent MacOS & iOS won't discover BLE device HOT 4
- make BLEMidiServer.sendMessage() public HOT 1
- Background scan for midi server. Any interest? HOT 1
- Constant disconnect/reconnect cycles after resetting the device
- is there a way to send midi clock? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-ble-midi.