Object Swap

object inlet outlet swap
Author: Gavin
License: BSD
Github: gav/audio/Object Swap.axo

Inlets

frac32buffer inmain

frac32buffer in1

frac32buffer in2

Outlets

frac32buffer outmain

frac32buffer out1

frac32buffer out2

Parameters

bool32.tgl sw

Audio Rate
if (param_sw == 0) {
  outlet_out1 = inlet_inmain;
  outlet_out2 = inlet_in1;
  outlet_outmain = inlet_in2;
} else {
  outlet_out2 = inlet_inmain;
  outlet_out1 = inlet_in2;
  outlet_outmain = inlet_in1;
}

Privacy

© 2024 Zrna Research