Python Forum
Mido and virtual midi ports - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Mido and virtual midi ports (/thread-31673.html)



Mido and virtual midi ports - dore_m - Dec-27-2020

I'm new here, and hope someone might point me to the right direction, or show me some demo code I might review.

I'm trying to use MIDO to allow a python script to send midi notes to a DAW. This requires accessing virtual midi ports (I think). I basically want my script to be able to control midi instrument apps that already reside in the same computer. There are other utilities out there that I might be able to use, but I'm not sure which and how to connect the script to them.

Any suggestions welcome.


RE: Mido and virtual midi ports - Larz60+ - Dec-27-2020

perhaps: https://pypi.org/project/simplecoremidi/
or if not, complete list of search for midi + DAW: https://pypi.org/search/?q=midi+%2B+DAW&o=


RE: Mido and virtual midi ports - dore_m - Dec-27-2020

I figured it out. using mido, I had to use loopmidi to create a virtual midi port input. Then, I used one of the mido commands to query the midi ports to find the name. Then I just input the port into the script.