fbpx
Skip to main content

MIDI Forum

USB to MIDI convert...
 
Notifications
Clear all

USB to MIDI converter

5 Posts
3 Users
0 Reactions
6,744 Views
michael
Posts: 3
Active Member
Topic starter
 

I have a Raspberry Pi computer and one of these :
https://www.serdashop.com/waveblaster
I want to write midi data using Python ( a programming language )
on the P.C. ..... and send it to the module via USB .
I need something that appears as a serial com port ,
or disk , or ??? and will drive the module with the right baud etc .
Any help appreciated ....... 😀

 
Posted : 19/07/2022 5:32 am
Clemens Ladisch
Posts: 324
 

Only the Raspberry Pi Zero (W) has an USB OTG port that can be configured as a USB device. All other Raspberry Pi models work only as a USB host, i.e., the cannot be connected to a PC.

The simplest solution might be to use a separate USB MIDI adapter. (But then you do not need the Raspberry Pi at all.)

 
Posted : 19/07/2022 11:01 am
michael
Posts: 3
Active Member
Topic starter
 

Thank You .........
SOLVED ! 😀
Got one of these :
https://www.sparkfun.com/datasheets/IC/cp2102.pdf
On the RPi I can open a USB serial port with baud 31250 ...... Presto !
I was surprised ..... I was expecting the Pi would not do that baud rate ..

 
Posted : 19/07/2022 6:01 pm
Pedro Lopez-Cabanillas
Posts: 154
Estimable Member
 

Maybe you have a strict requirement for USB in your scenario, but my advice for connecting two computers is always using a network option. Your Pi probably has Ethernet and/or WiFi available, like your PC, so my choice would be ipMIDI or RTP-MIDI.

 
Posted : 21/07/2022 2:17 am
michael
Posts: 3
Active Member
Topic starter
 

[quotePost id=15162]
Maybe you have a strict requirement for USB in your scenario,
[/quotePost]
Yes ..... One of these :
https://www.sparkfun.com/products/15938
Plugged into one of these:
https://www.sparkfun.com/products/10587
To simple to forgo ....

 
Posted : 21/07/2022 2:08 pm
Share: