trying to build a system that evaluate if there is signal (CHOP) . if there isn’t signal i want to output a value. Tried connecting a constant chop into the top input of a switch, and the value into the bottom input and into a logic, then the logic into the pulse of the switch. the problem is that the signal is flickering because there is no transition between the value of the constant and the mediapipe input. need a transition from the signal to the constant itself. Thank you
Hey @Gio_asq_91, I am not 100% sure that I understood what you are trying to achieve.
I have put together a quick example that might be helpful to get you going. As usual in TD there’s more than one way to resolve the same problem:
isThereSignal.toe (6.0 KB)
I hope this helps! If it doesn’t, I’d suggest to share a simplified version of the network you are working on, and /or screenshots etc…
Ciao
Thank you Fausto for your reply. the solution you suggest is very close to what i want to make. The problem is that i need to rescale the incoming signal with a “MATH CHOP” and so the signal i receive is never 0 but always the MATH value. Maybe need to program a system where no signal happens when there is no value changing. I also tried with a “SLOPE CHOP”, but maybe is not the best way. i look forward to hearing from you,
ciao
What is the range of the incoming signal?
Is it a sort of predictable range?
If it’s a predictable range, you can rescale it with a math and feed to the example I sent you.
If it’s a little bit unpredictable, you can still rescale it using a math and a limit chop, or a logic chop could work well, to decide what’s below a certain range and it’s considered “floor noise” and therefore can be = 0 and what’s considered usable and therefore become =1.
What type of signal are you receiving (i.e, OSC, DMX,serial, video …), and from what device (Arduino, a sensor, a camera…)