pan

stereo balance (panorama)
Author: Johannes Taelman
License: BSD
Github: spat/pan.axo

IO Variants: 2


Variant: 1

Inlets

frac32 input

Outlets

frac32 output

frac32 output

Parameters

frac32.s.map.ratio c

Control Rate
outlet_left = ___SMMUL((1 << 29) - (param_c << 2), inlet_i1) << 2;
outlet_right = ___SMMUL((1 << 29) + (param_c << 2), inlet_i1) << 2;

Variant: 2

Inlets

frac32buffer input

Outlets

frac32buffer output

frac32buffer output

Parameters

frac32.s.map.ratio c

Audio Rate
outlet_left = ___SMMUL((1 << 29) - (param_c << 2), inlet_i1) << 2;
outlet_right = ___SMMUL((1 << 29) + (param_c << 2), inlet_i1) << 2;

Privacy

© 2024 Zrna Research