Audios
2012-01-18 08:58:51
I've just spent many, many hours trying to figure out why a very simple translator (a patch change!) would not work even though the MIDI log was indicating that the correct output was being sent (e.g. "OUT 1.0: MIDI C6 04"). For a while, I was even thinking that the receiving device had failed since the MIDI log said the correct command was being sent. However, the problem was not with that translator at all!!! It was with another one--arghhh! I only discovered the source of the problem when I deactivated other translators and suddenly the patch change worked. The culprit is below and I found that an equivalent translator, further below, did not cause any problem. I sure hope someone fixes this and soon
Okay, the translator that screwed up my patch change is as follows:
Incoming trigger: B1 qq pp
Rules:
if qq!=80 then exit rules, skip Outgoing Action
g0=6
if pp==0 then g0=7
Outgoing Action: None
All it does is wait for the press of pedal #80 (0x50) and it toggles global variable g0 between values of 6 and 7, since the pedal value toggles between 0 and 127. Seems simple enough but as I said, having it active screwed up the MIDI output of my patch change translator (not shown) even though the log said the output was fine.
I couldn't see anything wrong with the above or my other translators so I replaced the above with the following (which is equivalent):
Incoming trigger: B1 50 pp
Rules:
g0=6
if pp==0 then g0=7
Outgoing Action: None
With this, everything works fine.
Audios
Okay, the translator that screwed up my patch change is as follows:
Incoming trigger: B1 qq pp
Rules:
if qq!=80 then exit rules, skip Outgoing Action
g0=6
if pp==0 then g0=7
Outgoing Action: None
All it does is wait for the press of pedal #80 (0x50) and it toggles global variable g0 between values of 6 and 7, since the pedal value toggles between 0 and 127. Seems simple enough but as I said, having it active screwed up the MIDI output of my patch change translator (not shown) even though the log said the output was fine.
I couldn't see anything wrong with the above or my other translators so I replaced the above with the following (which is equivalent):
Incoming trigger: B1 50 pp
Rules:
g0=6
if pp==0 then g0=7
Outgoing Action: None
With this, everything works fine.
Audios