[PD] Re: multi-speaker panning.. problamtic maths

alexandre r. decoupigny alex.decoupigny at gmail.com
Mon Oct 23 20:23:19 CEST 2006

On 23/10/06, Charles Henry <czhenry at gmail.com> wrote:
> Greets, Alexandre
> > i understand that atan2 outputs radiants and not degrees.
> > if i divide atan2's output by pi and then multiply it with 180
> > the results are not at all, what i imagine them to be,.
> the result of this operation, should be between -180 and 180, right?

the result of the operation above, eg. the values that [atan2] is outputting
are between -pi and plus pi... and i dont quite know how to translate this
result into 0-360.. and still i am facing a dilemma, which is what you

> This would be kind of tricky in terms of math, if you want for the
> intermediate joystick values (not just the direction) to control the
> sound distribution.  You likely want to have the sum of squares of
> your output signals to remain constant (constant total intensity)
> regardless of joystick position.

well thats the thing or exactly the issue i am having..there are so
many intermediate
joystick values and i have no clue how to deal with them.. can you
explain what you mean with "the sum of squares of your output signal"
 i also wonder if there is a way to have a full representation of all
the intermediate values: eg. resting the joystick in the middle means
to distribute it evenly amongst all four..
thanks for all your guys help... i will keep you up to date.. such a simple task
and such a complicated way to do it : ) complicity.. simplexity..



More information about the Pd-list mailing list