Hello, I am attempting to use a 3 input multiplexor to route 3 osc outputs (Saw, Square, and Triangle) To the same out put, allowing me to have a button on my midi controller to select osc waveform. However, I have run into a snag. I have tried a few different ways of accomplishing this, but im really not sure how the multiplexor is supposed to respond. As it is, I have a midi in CC object feeding trigger and midi cc into a latch, which then feeds the multiplexors "+s" input. When i press the button on my keyboard however, it only switches between the Saw, and Triangle inputs on the multiplexor, skipping the square. Any one tried to make a set up like this and have some tips for me?
How to properly use the multiplexor?
debterminer
#2
Ok nevermind, I figured it out. I am now having the midi cc trigger a counter set to count up to 3, and that feeds into the multiplexor.
janvantomme
#4
In this case, MIDI CC 20 is assigned to a pad on a controller. Each time you press the pad, the counter is triggered and increments the output by 1. This output is fed into the s inlet of the mux 3 object, and that one switches the output to let the corresponding oscillator signal through.
You can also use the ctrl/button object here if you don't have a MIDI controller.
midi-cc-multiplexer.axp (3.5 KB)