circular panning

elisabatti's icon

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?

Max Patch
Copy patch and select New From Clipboard in Max.

bye
---patch A

Max Patch
Copy patch and select New From Clipboard in Max.

patch B

elisabatti's icon

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

Roman Thilenius's icon

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

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

-110

1223.110.dekamix~.help.zip
zip
Roman Thilenius's icon

4 pans will give you a rectangular movement :D

Roman Thilenius's icon

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

Christopher Dobrian's icon

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
http://music.arts.uci.edu/dobrian/IAP2009/examples.htm#Ex43
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.

1224.CircularPanning.zip
zip
elisabatti's icon

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

oli larkin's icon

also try vbap~

elisabatti's icon

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.

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

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?

Christopher Dobrian's icon

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

Sarah Angliss's icon

Thanks for posting the circular panning abstractions - I was about to spend the entire morning trying to work it out from first principles so these are really helpful!

Peter Ostry's icon

Have you seen the "ICST Ambisonics" Package? Should be in your Package Manager (Menu: File/Show Package Manager). It deals with multi-speaker panning including absorption, Doppler, trajectory etc.