sb params

translates sample start-and end information created by 'sb rec' -objects from samples into fraction of a table,to be used by 'ldrive' - objects
Author: robert schirmer
License: BSD
Github: rbrt/looper/sb params.axo

Inlets

int32 read sample data of the set slot

Outlets

frac32.positive sample start in fraction of the table

frac32.positive sample length in fraction of the table

Attributes

objref data

objref wave

Declaration
bool full;
uint8_t shift;
Init
shift = (27 - attr_wave.LENGTHPOW);
Control Rate
outlet_offset = attr_data.array[inlet_slot << 1] << shift;
outlet_range =
    (attr_data.array[(inlet_slot << 1) + 1] - attr_data.array[inlet_slot << 1])
    << shift;

Privacy

© 2024 Zrna Research