load1

puts out a 'bool 1' after a patcher is going 'live'.
Author: robert schirmer
License: BSD
Github: rbrt/patching/load1.axo

Inlets

None

Outlets

bool32 on

Declaration
int32_t val;
int ntrig;
int a;
Init
val = 0;
ntrig = 0;
a = 1;
Control Rate
if ((a > 0) && !ntrig) {
  ntrig = 1;
  outlet_on = 1;
} else {
  if (!(a > 0))
    ntrig = 0;
}

Privacy

© 2024 Zrna Research