360 degree pot, spike issue.

Jun 11, 2012 at 1:26pm

360 degree pot, spike issue.

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. –
#46664
Jun 11, 2012 at 2:30pm

Hello,

With trigo ? HTH.

– Pasted Max Patch, click to expand. –
#167903
Jun 11, 2012 at 2:42pm

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?

#167904
Jun 11, 2012 at 3:10pm

Hello,

with 360 steps instead of 127 …

– Pasted Max Patch, click to expand. –
#167905
Jun 11, 2012 at 3:43pm

you can also checj this :)

– Pasted Max Patch, click to expand. –
#167906
Jun 11, 2012 at 8:38pm
#167907

You must be logged in to reply to this topic.