Switch TOP not playing 3 inputs with beat reactive CHOP system

Hi - I am a beginner.

I created a beat reactive CHOP system which works by a Trigger CHOP and so produces 2 outputs: 0 or 1.
I then have made this control a Switch TOP with 3 inputs. But as the Trigger Chop only has 2 outputs, it only switches between 2 of the inputs to the Switch. Is there a CHOP I can use to get the 3 switch inputs to be used?

Thanks

hey @giseleparnall ,

how would you like the 3 outputs to react on your beat?
Or, perhaps easier to answer: how would you like your Switch TOP with 3 positions to react to your beat?

Hi. Thanks for your response. :slight_smile:
I basically want the switch to randomly alternate the between the 3 inputs on each beat.

example attached, you can drag&drop this tox file into your TouchDesigner network.
Explanation of the network:

  • I have used an LFO CHOP to simulate your beat signal alternating between 0 and 1.

  • Notice the Pattern CHOP is set to “Random Non-Repeating Integers” which is ideal for your situation; it guarantees the Switch TOP will change its output when a beat comes in.

  • The Pattern CHOP’s Randomize pulse button is triggered whenever the signal from the LFO goes to 1, because of the python expression in it: op("null1")[0] (which means the first channel in operator called “null1”

random_non_repeating_integers.tox (734 Bytes)

1 Like

Thank you so much!! I really appreciate this :slight_smile:

Hey @renqingqi I answered your question in the other thread you posted.
(PS in the future, please post your question only once. Thanks)