Re: Unknown Amplitude Fluctuation in Stereo Panning Mixer


Peter McCulloch

Minor point: there actually will be a minor fluctuation in your volumes. It may or may not matter for your purposes, but it’s going to happen because the line~ is transitioning linearly, even though the destinations are set with sqrt.

If you use a longer transition time, you’ll hear it. (Try going from 0 to 1 over 1000 ms)

Two ways of solving it: use sqrt~ on the output of line~ (you can just use one line~, and then invert its output with !-~ 1 and then sqrt~ for the other channel) or make a lookup table. You can read through a stereo buffer use wave~ with a 0-1 signal.

– Pasted Max Patch, click to expand. –
Attachments:
  1. StereoPanCurve.aif
Oct 15, 2012 at 7:35pm #233605