dsacre / mididings

A MIDI router/processor based on Python
http://das.nasophon.de/mididings/
GNU General Public License v2.0
120 stars 40 forks source link

Pass() >> Port(n) // Print('xyz') outputs to port 1 as well (jack) #25

Open LeMikaelF opened 6 years ago

LeMikaelF commented 6 years ago

When using 'jack' or 'jack-rt' backend, when the command Print() is in parallel with another command, such as Pass() or Transpose(), and that the command sends to a port number higher than 1, it also causes port 1 to activate.

Consider:

config(
  backend='jack',
  in_ports = 1,
  out_ports = 2,
)
run(
  Pass() >> Port(2) //
  Print('test')
)

This will output MIDI signals to port 1 and 2. The workaround I am using is to simply use a dummy port 1 and leave it unused.