How to use different Bluetooth midi #8
Replies: 5 comments 10 replies
-
Hey. A device like the M-Vave Chocolate footswitch is a server device. My code version V1.0.1.2 has a client implementation, that listens for the advertising from the M-Vave, and connects to it. Now yesterday I finished implementing a Server mode. Code is committed to main branch but I haven't released builds for it. Another user is helping to test it. In Server mode, the controller advertises its precense, and other devices (like a phone) can see it, connect and then send Midi commands. Now looking at the Xvive MD1, its a server device. So it shouldn't need yesterdays big changes for Server mode. // M-vave Chocolate device name is 'FootCtrl' When scanning for devices, if this name is matched, then I connect to it and search for the standard Bluetooth Midi UUIDs. I'm happy to make the changes, just need to know what the device name is. As for Serial Midi, yeah I wasn't thinking of that when I picked the Waveshare board. It can still be done, but would need a mod wire connected to the PCB UART TX output, so it can bypass the RS485 transceiver. And that mod wire would connect to an external board with the optocoupler and connectors. |
Beta Was this translation helpful? Give feedback.
-
Yep, so "FootCtrl" would need to replaced with "Xvive MD1" in the device name. // 7772e5db-3868-4112-a1a9-f2669d106bf3 Midi characteristic So it should just work. Are you able to build the code? |
Beta Was this translation helpful? Give feedback.
-
Also, you would need to send Midi Program Change commands to switch presets on the Tonex One. With the program being a 0-based index. |
Beta Was this translation helpful? Give feedback.
-
I got a message that you had some trouble building the source, but can't find it here. I could make a test build for you if you like |
Beta Was this translation helpful? Give feedback.
-
Hi, This implies that the devices have to be turned on in a specific order and that those two have to be the only ones that are scanning/advertising at that time. But that is the design of BLE MIDI. Long story short: I'm quite sure, that the restriction to certain device names should be disabled. I will try it. I will also test the CME WIDI group compatibility. |
Beta Was this translation helpful? Give feedback.
-
Hello!
Ok I'm learning a lot and I promise I am researching too. I just thought I'd ask the question.
I've been digging through the midi control task to understand how the Bluetooth midi works. I bought a wireless midi adapter (Xvive MD1) and I'm trying to figure out what needs changing in the code to make this work. From what I've discovered the Xvive does use the standard BLE midi protocol.
I couldn't figure out how to use serial midi with the recommended waveshare board as the RX pin doesn't have a breakout.
Beta Was this translation helpful? Give feedback.
All reactions