Forums > MaxMSP

360 degree pot, spike issue.

June 11, 2012 | 1:26 pm

Hi all,

Im trying to create a sound installation that is controlled by compass direction. So when the user faces a certain direction they will hear a certain sound. I have the 360degree of space split into different sections and ranges for certain sounds. As the user moves closer to the exact direction they need to face, a fader will increase gradually until it hits 0dB and then once the user moves past that point it will begin to decrease from 0dB.

The problem is that when the compass hits around 0-360 degree crossover area, all the faders will jump to max, because the numbers being sent have all turned positive. Ive been trying to figure out a way to filter out this problem but I am running out of ideas.

Also, Im fairly aware that the problem is probably in my logic somewhere earlier in the patch and I may be trying to cure the symptoms instead of the original prob, but hopefully thats not the case!

– Pasted Max Patch, click to expand. –

June 11, 2012 | 2:42 pm

Thanks for the reply nicolas but Im afraid I dont really see the applicaton for your solution. I already have expressions that ensure the faders move up and down depending on the position of the dial. My problem is that when the dial crosses from 0-360 or vice versa, everything jumps to max dB. Or am I missing the solution in your patch?


June 11, 2012 | 3:43 pm

you can also checj this :)

– Pasted Max Patch, click to expand. –


Viewing 4 posts - 1 through 4 (of 4 total)