load fn

load a patch from sdcard
Author: Johannes Taelman
License: BSD
Github: patch/load fn.axo

Inlets

bool32.rising trigger

charptr32 filename

Outlets

None

Declaration
int ntrig;
Init
ntrig = 1;
Control Rate
if ((inlet_trig > 0) && !ntrig) {
  LoadPatch(inlet_fn);
  ntrig = 1;
} else if (!(inlet_trig > 0))
  ntrig = 0;

Privacy

© 2024 Zrna Research