read

delay read, non-interpolated
Author: Johannes Taelman
License: BSD
Github: delay/read.axo

IO Variants: 2


Variant: 1

Inlets

frac32 delay time (fraction of total delayline size)

Outlets

frac32buffer wave

Parameters

frac32.u.map time

Attributes

objref delayname

Control Rate
uint32_t delay =
    attr_delayname.writepos -
    (__USAT(param_time + inlet_time, 27) >> (27 - attr_delayname.LENGTHPOW)) -
    BUFSIZE;
Audio Rate
outlet_out = attr_delayname.array[(delay++) & attr_delayname.LENGTHMASK] << 14;

Variant: 2

Inlets

frac32buffer delay time (fraction of total delayline size)

Outlets

frac32buffer wave

Parameters

frac32.u.map time

Attributes

objref delayname

Audio Rate
uint32_t delay1 =
    attr_delayname.writepos -
    (__USAT(param_time + inlet_time, 27) >> (27 - attr_delayname.LENGTHPOW)) -
    BUFSIZE + buffer_index;
outlet_out = attr_delayname.array[delay1 & attr_delayname.LENGTHMASK] << 14;

Privacy

© 2024 Zrna Research