ldub

adds data to the content of a table,at inlet pos (in fraction of the table's size).feedback controls feedback amount.
Author: robert schirmer
License: BSD
Github: rbrt/old/ldub.axo

Inlets

bool32.risingfalling overdub

frac32.positive feedback amount

frac32buffer.positive index in fraction of table size

frac32buffer audio in

Outlets

None

Parameters

frac32.u.map.ratio feedback

Attributes

objref table

Declaration
uint32_t csample;
uint32_t dub;
Audio Rate
csample = (__USAT(inlet_pos, 27) >> (27 - attr_table.LENGTHPOW));
dub = (___SMMUL((attr_table.array[csample] << attr_table.GAIN),
                (inlet_feedback + param_feedback))
       << 5);
if (inlet_overdub)
  attr_table.array[csample] = __SSAT((inlet_wave + dub), 28) >> attr_table.GAIN;

Privacy

© 2024 Zrna Research