IO Variants: 2
Variant: 1
None
frac32.bipolar Left gain
frac32.bipolar Right gain
frac32.s.map Fade in left or right channel
if (param_lr >= 0) {
outlet_lgain = 0;
outlet_rgain = param_lr;
} else {
outlet_lgain = -param_lr;
outlet_rgain = 0;
}
Variant: 2
None
frac32.bipolar Left gain
frac32.bipolar Right gain
frac32.s.map Fade out left or right channel
if (param_lr >= 0) {
outlet_lgain = (1 << 27);
outlet_rgain = (1 << 27) - param_lr;
} else {
outlet_lgain = (1 << 27) + param_lr;
outlet_rgain = (1 << 27);
}