[ANSWERED] Router not responding to Program Change Watcher program number
Attached is a very simple scene which contains a Program Change Watcher, set up on port 1 channel 1, which sends the program number it receives to a router. I have a MIDI footswitch which outputs PCs 1 through 4 and I see them appear correctly in the PC Watcher in the scene.
The output of this PC Watcher is connected to the Select input on a Router, with 4 outputs. I see the line flash green when the MIDI PC messages are received but the Router "Select" input never changes.
I can work around this by inserting a Trigger Value actor between them but this does seem like it may be a bug?
DusX Tech Staff last edited by Woland
I believe you are having range problems. Here you have an output with a defined range of [int] 0 thru 127, and an input that is setup as [int] 1 thru 4. Now because a range is defined on each end of the connection Isadora does a value scaling. If you have a prog. num output of 22, you will see the select input switch to 2.
The easiest fix here is to place some actor between these 2. I would probably use an Absolute Value actor. Since the range on both the input and output of the Absolute value actor are set to Min and Max, no scaling will occur on either end, and you should see your Midi values received arrive unchanged to the select input of the Router actor.
Woland Tech Staff last edited by
@tgk I believe you are having range problems. Here you have an output with a defined range of [int] 0 thru 127, and an input that is setup as [int] 1 thru 4. Now because a range is defined on each end of the connection Isadora does a value scaling
This tutorial video on value scaling may be helpful.
@woland Ah thanks both - range makes sense! Constraining the output range on the Program Change Watcher fixes it, as does your suggestion of an Absolute Value actor in between.
Thank you! Bug in my head, in this case :)