yourself in
csound using the midiin and midiout opcodes and virmidi as
a loopback driver. Might be lower footprint than having to launch PD
as well.
Sure, I don't know why I didn't think of that. Csound would sure be
preferrable over pd to me in this case.
However now that Peter Brinkmann has showed me some python bindings that
I can work with, I think I'm gonna take that direction...
One potential advantage to doing it in csound is that it is also very
easy to adjust for different latencies between various synths. What we
did was store different delay latencies in a table, then the midi parser
instrument looks up the appropriate delay, and delays ouput accordingly.
As far as I know, doing real time timing in python is not very accurate.
This also puts the midi parsing in the csound process, meaning that if
you are using --sched with csound, you don't have to worry about
preempting your midi input/output. Of course if you want that to be the
case, then it doesn't work.
Iain