Re: Unknown Amplitude Fluctuation in Stereo Panning Mixer

Forums > MaxMSP > Unknown Amplitude Fluctuation in Stereo Panning Mixer
Oct 15 2012 | 7:35 pm

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

  1. StereoPanCurve.aif

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required