Hi,
I have an eventmidi-seq with its lport set to 1 but when playing the object it outputs to port 0.
I’m using OM 6.9 with MidiShare. I tried also with 6.10.1 and portmidi but it didn’t solved the problem.
(For chord-seqs I use the set-port function and it works fine.)
Is this a known bug or am I doing something wrong ?
Thanks,
Kreso
Hi – this indeed looks like a bug: EVENTMIDI-SEQ will always send to the default MIDI port.
I think you can use the attached file to fix it (just put the file in OM 6.10.1/patches/)
midiseq-port-fix.lisp (1.09 KB)
Thank you Jean,
How do i fill in the “player” and “at” ins for an output to midishare port 1 for example ?
(PrepareToPlay “?:midishare?” EventMidi-seq “?at?” :port 1)
Kreso
what do you want to do here ? (your are not supposed to “use” this function
if it can help: midishare does not exist anymore in OM 6.10 so :midishare as a player will just do nothing.
‘at’ is a time in milliseconds. So 0 = “now”
I want to play an eventmidi-seq with its lport set to 1. (OM plays it on port 0)
(Do you mean that PrepareToPlay is only used internally and should not be used otherwise ?)
I will test it with 6.10 but I need a solution for 6.9 because with 6.10 I can not use pitchbends anymore…
After several tests combining the file you gave me with different OM and Mac OS versions : midiseq-port-fix.lisp works perfectly with OM 6.9 and OS 10.8.5.
Many thanks Jean !