Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:pymidi [2025/02/09 12:01] darrontools:pymidi [2025/02/09 12:07] (current) darron
Line 1: Line 1:
-====Python Midi====+====Python midi====
  
-Midi I/O using pythong.+Midi I/O using Python3.
  
 ===Setup=== ===Setup===
Line 11: Line 11:
 </code> </code>
  
-===Resources===+===Test===
  
-https://github.com/SpotlightKid/python-rtmidi/tree/master/examples+<code> 
 +mkdir -p ~/src && cd ~/src 
 +git clone https://github.com/SpotlightKid/python-rtmidi 
 +cd python-rtmidi/examples 
 +</code> 
 + 
 +<code> 
 +python3 sequencer/sequencer.py 
 +Creating MidiOut object. 
 +Do you want to create a virtual MIDI output port? (y/N) n 
 +Available MIDI ports: 
 + 
 +[0] Midi Through:Midi Through Port-0 14:0 
 +[1] Origin25:Origin25 MIDI 1 16:0 
 +[2] E-MU XMidi2X2:E-MU XMidi2X2 Midi Out 1  20:0 
 +[3] E-MU XMidi2X2:E-MU XMidi2X2 Midi Out 2  20:1 
 + 
 +Select MIDI output port (Control-C to exit): 3 
 +Opening MIDI output port #3 (E-MU XMidi2X2:E-MU XMidi2X2 Midi Out 2  20:1). 
 +</code>