Let’s say we are building a sequencer, that has an internal clock that we can adjust using a knob, and a clock input if we want to use the clock signal of another module. To know which source to use, is it possible to check whether a cable is connected to a given input?
if (inputs[MY_INPUT].isConnected()) {
...
1 Like
thanks a lot!
You can also check if it is monophonic or polyphonic
if (inputs[...].isMonophonic()) {//returns channels == 1 true /false
...
}
if (inputs[...].isPolyphonic()) {//return channels > 1 true/false
...
}