Calculation help.

Mikelib's icon

Hi guys,
I need help with a calculation. I am using a panner (ambimonitor) which starts to output minus numbers once the 180 mark is passed. I want the output instead to go from 0 to 360. At the moment when I move past 180 the output goes to -179. I would like it to go to 181 and continue to 360. What calculation could I use to achieve this result?

Thanks in advance,
Mike.

mzed's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I'd do it like:

Mikelib's icon

Excellent. That is exactly what I need. Much appreciated!

Mike.