modsource

generic modulation source
Author: Johannes Taelman
License: BSD
Github: patch/modsource.axo

Inlets

frac32 value

bool32.rising trigger

Outlets

None

Declaration
int ntrig;
Control Rate
if ((inlet_trig > 0) && !ntrig) {
  PExModulationSourceChange(
      &parent->GetModulationTable()[parent->MODULATOR_attr_name *
                                    NMODULATIONTARGETS],
      NMODULATIONTARGETS, &parent->PExch[0],
      &parent->PExModulationPrevVal[parent->polyIndex]
                                   [parent->MODULATOR_attr_name],
      inlet_v);
  ntrig = 1;
}
if (!(inlet_trig > 0))
  ntrig = 0;

Privacy

© 2024 Zrna Research