slot_params_smps

reference sample information created by 'smplr'. 'slot' sets the sample bank slot to refer to. 'offset' returns the start of the slot in fraction of the table's size, 'range' returns the length. 'playmode' returns the playmode the slot has been recorded with. 'Aux' returns auxiliary information,like the recording startpoint.
Author: robert schirmer
License: BSD
Github: rbrt/slot_params_smps.axo

Inlets

int32 read sample data of the set slot

Outlets

frac32.positive startpoint

int32.positive offset

int32.positive range

int32.positive playmode

Attributes

objref lpr

Control Rate
outlet_offset = attr_lpr.array[inlet_slot << 2];
outlet_range =
    (attr_lpr.array[(inlet_slot << 2) + 1] - attr_lpr.array[inlet_slot << 2]);
outlet_playmode = attr_lpr.array[(inlet_slot << 2) + 2];
outlet_startpoint = attr_lpr.array[(inlet_slot << 2) + 3];

Privacy

© 2024 Zrna Research