mathematical expression

clapping meter

gnomalab's picture

I'm trying to think clapping meter to a public vote.

I started with something simple: An audio input with a conditional to decide what value that triggers a Pusle. Each pulse is added to a counter. The problem is that if the threshold is always higher Pusle does not add to the counter. Example: The audience applauds strong, the threshold is always higher, then just add a few points because the value is always greater than the threshold, this would give a wrong score.

How do I trade values ​​above the threshold to keep counting? any mathematical expression for do this?

any help is welcome.

Mathematical Expressions: Snapping to a value

hob's picture

Hi guys,

I'm not so hot on my maths, can anyone explain how I might accomplish the following in QC?

I have a slider input from -0.8 to 0.8. However, I want the output to jump up in 0.2 increments. This could be achieved with the Mathematical Expression patch, right? I'm just not sure how to use MAX/MIN etc...