slot

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/sstation/slot.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

int32.positive playmode

frac32 additional info

Attributes

objref smplr

Control Rate
outlet_offset = attr_smplr.array[inlet_slot << 5] << attr_smplr.SHIFT;
outlet_range = (attr_smplr.array[(inlet_slot << 5) + 1] -
                attr_smplr.array[inlet_slot << 5])
               << attr_smplr.SHIFT;
outlet_playmode = attr_smplr.array[(inlet_slot << 5) + 2];
outlet_Aux = attr_smplr.array[(inlet_slot << 5) + 3];

Privacy

© 2024 Zrna Research