Stereo Panner

RoutingpannerLight CPU

Pans one signal across two outputs with an equal-power law.

What it does

One signal in, two outputs, positioned by an equal-power pan law.

No DaisySP class and no state — the two gains are computed inline every sample as L = in * sqrtf(1 - pan) and R = in * sqrtf(pan). Because the two gains square to 1, total power is constant all the way across the sweep: hard left and hard right are unity, the centre is 1/√2 (−3 dB) on each side. That is the same curve Crossfade calls Constant Power, at a fraction of the cost — two hardware square roots per sample instead of two sine calls.

Parameters

  • Pan (L↔R)

    pan
    Default 0.5Range 0 … 1

    Where the signal sits between the two outputs: 0 is hard left, 1 is hard right, 0.5 is centred. This is the value used when the Pan port is unwired — wire a knob or an LFO into it to move the image while the patch runs. Values outside 0–1 arriving from a wire are clamped rather than folded, so an over-swinging modulator parks at one side instead of producing silence.

Equal-power law: the centre sits at −3 dB on both sides, so a slow sweep keeps a steady loudness instead of dipping through the middle. Wire both outputs into Audio Out (Left and Right) to hear it.

Ports

In

  • Audio In input
  • Pan pan

Out

  • Left Out left
  • Right Out right

Audio Control

Inputs

Audio In
The signal to place. Unwired reads 0.0 and both outputs are silent.
Pan
0 = hard left, 0.5 = centre, 1 = hard right. Unwired, the Inspector value is used. Anything outside 0–1 is clamped at emit.

Outputs

Left Out
The signal scaled by the left gain. Wire it to Audio Out Left.
Right Out
The signal scaled by the right gain. Wire it to Audio Out Right.

Rules and gotchas

  • Both outputs must be wired to hear a pan — wiring only one gives a channel that fades to silence at the far end of the sweep, which reads as a broken tile rather than a pan.
  • ⚠ Equal POWER is not equal amplitude. Summed to mono, a centred signal is about 3 dB louder than the same signal hard left, because the two −3 dB halves add coherently. If you are panning for a mono destination, that is the wrong law.
  • A Pan value outside 0–1 is clamped, not wrapped: a modulator swinging ±1 spends half its travel parked hard left rather than sweeping. Put a Scale / Offset between the two to map the modulator into 0–1 first.
  • The pan is per-sample, so audio-rate modulation works and will sound like ring modulation rather than movement. That is a legitimate use, not a misuse — but it is not what a slow sweep sounds like.