pan st swap c

stereo pan swap center is mono!left is normal right swapped
Author: philoop
License: BSD
Github: phi/spat/pan st swap c.axo

Inlets

frac32buffer input

frac32buffer R

Outlets

frac32buffer output

frac32buffer output

Parameters

frac32.s.map pan

Audio Rate
int32_t right = ___SMMUL((1 << 29) - (param_pan << 2), inlet_R) << 2;
int32_t right1 = ___SMMUL((1 << 29) + (param_pan << 2), inlet_L) << 2;
int32_t left = ___SMMUL((1 << 29) + (param_pan << 2), inlet_R) << 2;
int32_t left1 = ___SMMUL((1 << 29) - (param_pan << 2), inlet_L) << 2;
outlet_right = right + right1;
outlet_left = left + left1;

Privacy

© 2024 Zrna Research