snap

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...