Comments (5)
@LenarOsx I do not have a keystation mk3, but I do have an Arturia KeyLab Essential 88. It also has 2 virtual cables. I just re-tested it with the Arturia. It works as expected, so the issue is probably not the two virtual cables per se. Without more information, I cannot know what the issue is. Please attach to this issue any console output you see. If you have the software on your computer to dump the keystation mk3 USB descriptor, please attach a dump of the descriptor, too.
If it is disconnecting, and if it is not a software issue after all, it might also be a power issue or other electrical issue with your keyboard or the your hardware. If you can plug a powered hub between your Pico board USB port and your keyboard, that might help resolve the issue.
Finally, please be aware that, by design, midi2usbhost
only routes MIDI data on USB MIDI cable 0 to and from the DIN MIDI ports. If the data you need is on another virtual cable, you may prefer to use midi2usbhub with a multi-cable USB MIDI keyboard because you can use the CLI to direct MIDI data from each USB cable to the DIN MIDI port or not.
from midi2usbhost.
Thanks man, power issue like you said. Now it doesn't disconnect. But I can't get it to do what I want.
Basically I want to read data bytes from USB midi, and send it to another MCU esp32, to make an Bluetooth midi device.
I've tried with the midi2usbhub, but it doesnt list the uart midi in and out. Do I have to connect an actual actual midi device to get it listed?
By the way, dip midi in and out is connected to pin 6 and 7(uart1) on the rp pi pico correct?
Thanks man, I'm pretty sure I'm gonna get the project done with your Code.
from midi2usbhost.
@LenarOsx You are correct that Pico board pins 6 (UART1 TX) and 7 (UART1 RX) are where the MIDI data come out. Please make sure you connect UART1 TX from the Pico board to the RX pin of your esp32 board, and vice versa. If your esp32 board has an open drain UART TX pin (as it should for MIDI), be sure to add a pull-up resistor to 3.3V on that pin. Because there is no way that I know of to make the RP2040 UART TX output open drain without resorting to implementing the UART transmitter using PIO (see pio_midi_uart_lib, for example), you won't need a pull-up resistor on the Pico board's UART1 TX pin.
The list
command in the midi2usbhub
project just showed the USB devices. It assumed you know the DIN MIDI port is there. That is a bug that I just fixed; it should show the UART MIDI port now. The show
command shows a connection matrix of all the devices. You will see MIDI-IN-A
and MIDI-OUT-A
listed there.
All of this said, you can accomplish USB Host to Bluetooth MIDI with a single Pico W board if you use the ble-midi2usbhost project.
If you have enough information to solve your problem, please mark this issue closed.
from midi2usbhost.
It worked on my akai LPD8, thanks man. I could not make it work on my keystation 61. It listed all the ports, I tried with both and couldn't get any output from Midi out tx. But it worked on my single cable midi device so that is amazing. I'm gonna close the issue. Thanks!. Here is the descriptor dump if you wanna take a look.
DescriptorDump_Keystation_61_MK3.txt
from midi2usbhost.
@LenarOsx Thanks for the descriptor dump. It seems fine. I am baffled and sorry I couldn't help you to get it to work. If you want to dive deeper yourself, in the midi2usbhost
project, take a look at the CMakeLists.txt
file and uncomment the line
# set(LOG 2)
and change it to
# set(LOG 3)
and then make a new debug build.
The console output generated at line 189 of usb_midi_host.c
might at least tell you if it is receiving MIDI data from your keyboard.
from midi2usbhost.
Related Issues (17)
- USB MIDI host via built-in USB-C HOT 2
- Using raspberry pi pico as a MIDI controller HOT 4
- Pico PIO USB Host HOT 24
- Can't find #include "class/midi/midi_host.h" HOT 3
- Add dual role / switchable mode HOT 10
- Problems with Midi-device Launchpad X HOT 14
- Problems with devices with multiple virtual cables HOT 6
- Capturing incoming midi pitch bend messages HOT 3
- wrong question -- please delete HOT 1
- Add CV and Gate HOT 5
- Info request HOT 5
- RTP MIDI HOT 1
- Project based on RP2040, potential firmware target HOT 2
- Adafruit Feather with USB host HOT 3
- Compilation error -- EZ_USB_MIDI_HOST 2.0.0 HOT 3
- Request HOT 7
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 midi2usbhost.