Forums > MaxMSP

pan law needed; suffering from loudness bump

April 17, 2012 | 7:08 pm

Hi
I am using the phase inlet of two cycle~ objects to control stereo-spread of a sound source, but it appears I am missing some maths…..it functions ok, but there is a slight increase in loudness when the slider value is near the centre, tapering off at either min or max value; the patch below illustrates the problem. I would like to achieve a stable and uniform loudness level across the parameter range, from mono to stereo.

– Pasted Max Patch, click to expand. –

thanks
Brendan


April 17, 2012 | 7:52 pm

Apparently ignorance IS bliss…..I swapped the phase-inlet control for a simple line ramp, to control the amplitude scaling of the channels and the loudness bump is gone


April 18, 2012 | 1:22 am

Would you mind posting a patch showing your solution? I’d love to see it – I don’t quite follow your explanation, but it sounds useful. Thanks!


April 18, 2012 | 3:22 am

If you look here on page 74 it should help http://aspress.co.uk/ds/pdf/pd_intro.pdf


April 18, 2012 | 11:11 am

@ehdyn
thanks for the great source; very ‘layman’ friendly!

@Steven
Sure, this patch illustrates how curved and straight line scaling of amplitude effects panning and also "stereo spread" to some extent, but in this example patch I just have a simple mono source going both left and right. But in my granulator it works like a dream……yummy stereo multigrain goodness!

– Pasted Max Patch, click to expand. –

Brendan


April 19, 2012 | 11:38 am

Thanks Brendan, much appreciated. I understand the general concept of "pan law" and have used various implementations – I just didn’t follow the specifics of the explanation in your original post.


April 20, 2012 | 1:32 am

Cool, glad it helped – yeah thats a good resource.
That site and an old emu manual is all anybody really needs.


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