demux 2

Demultiplexer. Connects inlet i to outlet o0 when s is false, to outlet o1 when s is true.
Author: Johannes Taelman
License: BSD
Github: demux/demux 2.axo

IO Variants: 4


Variant: 1

Inlets

bool32 input

bool32 default 0

bool32 default 1

bool32 select

Outlets

bool32 output 0

bool32 output 1

Control Rate
outlet_o0 = (inlet_s) ? inlet_d0 : inlet_i;
outlet_o1 = (inlet_s) ? inlet_i : inlet_d1;

Variant: 2

Inlets

int32 input

int32 default 0

int32 default 1

bool32 select

Outlets

int32 output 0

int32 output 1

Control Rate
outlet_o0 = (inlet_s) ? inlet_d0 : inlet_i;
outlet_o1 = (inlet_s) ? inlet_i : inlet_d1;

Variant: 3

Inlets

frac32 input

frac32 default 0

frac32 default 1

bool32 select

Outlets

frac32 output 0

frac32 output 1

Control Rate
outlet_o0 = (inlet_s) ? inlet_d0 : inlet_i;
outlet_o1 = (inlet_s) ? inlet_i : inlet_d1;

Variant: 4

Inlets

frac32buffer input

frac32buffer default 0

frac32buffer default 1

bool32 select

Outlets

frac32buffer output 0

frac32buffer output 1

Audio Rate
outlet_o0 = (inlet_s) ? inlet_d0 : inlet_i;
outlet_o1 = (inlet_s) ? inlet_i : inlet_d1;

Privacy

© 2024 Zrna Research