Forums > MaxMSP

circular panning

October 7, 2010 | 3:56 pm

Hi everybody
Imade up this patch for a circular panning with 4 speakers (patch A)
but then discussing with a friend of mine it came out that actually volume is not linearly proportional to distance, then I used the sqrt commnad but of course the circular movemnt has gone (patch B), any suggestion?

—patch A

— Pasted Max Patch, click to expand. —

patch B

— Pasted Max Patch, click to expand. —
October 7, 2010 | 8:26 pm

off course my question was wrongly posed .
I could have easily used pan4s for what I requested here above
the thing is that the same principle are working also for spiral mouvement and random movement.
So I decided to give up with my patch and solve the problem using a line command for vbap for the random path but ‘m still trying to understand how to make a spiral with pan4s..

October 7, 2010 | 8:32 pm

it is kind of proportional to distance, but you also have to
perform equal power balancing between the speakers in

there are other methods to do this, here is one method.



October 7, 2010 | 8:45 pm

4 pans will give you a rectangular movement :D

October 7, 2010 | 9:26 pm

btw, for your "spiral", if not my patch, you can just mix a mono signel against
a rotation …

October 7, 2010 | 10:25 pm

You might find these three abstraction patches to be of some use.
pan~ implements constant power stereo panning, with the panning location specifiable as a value from 0-1, supplied as an argument, a float, or a signal
panLRFB~ implements constant power quad panning with two panning variables for L-R and F-B, both 0-1; this patch uses the pan~ patch
circularquadpan~ uses the other two patches to send a sound in a circle, with the rate of the spin specifiable in Hz (revolutions per second)
These patches are explained at
To make a spiral, you should just (linearly) change the amplitude of the mono sound (before panning it) inversely proportional to the change in desired virtual distance (radius) of the spiral. You’d probably also want to change the rate of the spin proportionally, too, since the sound would require more time to travel the increased circumference of the virtual spiral.

October 7, 2010 | 10:41 pm

ok thx guys I will look it up
you are right roman pan4s gives you a rectangular path

October 8, 2010 | 2:20 pm

also try vbap~

October 9, 2010 | 3:03 pm

hey roman,
I saw that you posted the same patch in another talk in hte forum and that avoided me to ask you further question.
Yes thanks oli I know I know vbap. But it is for linear mouvement.

October 9, 2010 | 3:40 pm

hey christian I saw in the tutorial you provide me that actualy using your panLFRB and comands direct to the pictslider, than I can create every movement I want such as this:
do you think it is ok?

— Pasted Max Patch, click to expand. —
October 9, 2010 | 10:12 pm

That’s essentially right, but the change in radius will only be heard if you change the amplitude (inversely) proportionally.

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

Forums > MaxMSP