SeaboardSendMixer6OutSH

5 output send K-rate mixer for Seaboard with latch function
Author: Albert van der Zee
License: BSD
Github: azaxo/ctrl/SeaboardSendMixer6OutSH.axo

Inlets

bool32.rising Trigger

frac32 In

frac32.positive GainTimbre

frac32.positive GainColor

frac32.positive GainFrequency

frac32.positive GainReso

frac32.positive GainVCA

frac32.positive GainLFO

Outlets

frac32.bipolar OutTimbre

frac32.bipolar OutColor

frac32.bipolar OutFrequency

frac32.bipolar OutReso

frac32.bipolar OutVCA

frac32.bipolar OutLFO

Declaration
int ntrig;
int latch;
Control Rate
if ((inlet_Trigger > 0) && !ntrig) {
  latch = inlet_In;
  ntrig = 1;
}
if (!(inlet_Trigger > 0))
  ntrig = 0;

outlet_OutTimbre = ___SMMUL(inlet_In - latch, inlet_GainTimbre) << 5;
outlet_OutColor = ___SMMUL(inlet_In - latch, inlet_GainColor) << 5;
outlet_OutFrequency = ___SMMUL(inlet_In - latch, inlet_GainFrequency) << 5;
outlet_OutReso = ___SMMUL(inlet_In - latch, inlet_GainReso) << 5;
outlet_OutVCA = ___SMMUL(inlet_In - latch, inlet_GainVCA) << 5;
outlet_OutLFO = ___SMMUL(inlet_In - latch, inlet_GainLFO) << 5;

Privacy

© 2024 Zrna Research