preset

apply preset, preset zero = init, and will reset ALL parameters, not just the presets
Author: Johannes Taelman
License: BSD
Github: patch/preset.axo

Inlets

int32 preset number

bool32.rising trigger

Outlets

None

Declaration
int ntrig;
Init
ntrig = 0;
Control Rate
if ((inlet_trig > 0) && !ntrig) {
  parent->ApplyPreset(inlet_preset);
  ntrig = 1;
} else if (!(inlet_trig > 0))
  ntrig = 0;

Privacy

© 2024 Zrna Research