slot length

returns the length in samples of a slot
Author: robert schirmer
License: BSD
Github: rbrt/old/slot length.axo

Inlets

int32 read sample data of the set slot

Outlets

int32.positive smps

Attributes

objref smplr

Declaration
uint32_t smps;
Control Rate
smps = (attr_smplr.array[(inlet_slot << 2) + 1] -
        attr_smplr.array[inlet_slot << 2]);
if (attr_smplr.rec && (attr_smplr.recslot == inlet_slot))
  outlet_smps = 0;
else
  outlet_smps = smps;

Privacy

© 2024 Zrna Research