Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mido and virtual midi ports
#1
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.
Reply
#2
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=
Reply
#3
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to execute tempo changes in Mido? NickShredScott 0 418 Nov-28-2023, 05:16 AM
Last Post: NickShredScott
  Adding MIDI Channels to each Input zach1234 6 1,145 Apr-20-2023, 11:51 AM
Last Post: jefsummers
  How to bind a midi signal to tkinter? philipbergwerf 1 1,567 Feb-09-2022, 05:17 PM
Last Post: Gribouillis
  mido MIDI-file; how to distinguis tracks? philipbergwerf 2 2,198 Dec-10-2021, 05:06 PM
Last Post: philipbergwerf
  Uninstall unused COM ports windows 10 adbrooker 1 1,981 Sep-22-2021, 03:16 AM
Last Post: Larz60+
  How to open MIDI-file and get events in a list? philipbergwerf 7 4,852 May-29-2021, 08:24 AM
Last Post: j.crater
  MIDI FILES TEMPO - MIDO Tetsuo30 9 4,880 Sep-06-2020, 08:17 PM
Last Post: jefsummers
  Handling Multiple USB ports in Python samalpramod 0 4,364 Aug-01-2020, 07:40 PM
Last Post: samalpramod
  Real time MIDI with python eythoralex 1 3,398 May-19-2020, 07:17 PM
Last Post: Larz60+
  Please help! Akai APC20 midi controller script versusliveact 0 2,093 Feb-14-2020, 05:37 AM
Last Post: versusliveact

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020