loop_dub

adds data to the content of a table,at inlet pos (in fraction of the table's size)
Author: robert schirmer
License: who cares
Github: rbrt/old/loop_dub.axo

Inlets

frac32buffer.positive index in fraction of table size

frac32buffer audio in

bool32.risingfalling overdub

Outlets

None

Attributes

objref table

Declaration
uint32_t csample;
uint32_t dub;
Audio Rate
csample = (__USAT(inlet_pos, 27) >> (27 - attr_table.LENGTHPOW));

dub = (attr_table.array[csample] << attr_table.GAIN);

if (inlet_overdub)
  attr_table.array[csample] = __SSAT((inlet_wave + dub), 28) >> attr_table.GAIN;

Privacy

© 2024 Zrna Research