tablewrite 8

if 'write' is ON,writes 8 values to a table,starting from 'offset'
Author: robert schirmer
License: BSD
Github: rbrt/data/tablewrite 8.axo

Inlets

frac32 v0

frac32 v1

frac32 v2

frac32 v3

frac32 v4

frac32 v5

frac32 v6

frac32 v7

int32 sets an offset for writing to the table

bool32.risingfalling write

Outlets

None

Parameters

int32 offset

bool32.tgl write

Attributes

objref table

Declaration
int offset;
Control Rate
offset = (inlet_offset + param_offset);

if (param_write || inlet_write) {
  attr_table.array[offset + 0] = __SSAT(inlet_v0, 28) >> attr_table.GAIN;
  attr_table.array[offset + 1] = __SSAT(inlet_v1, 28) >> attr_table.GAIN;
  attr_table.array[offset + 2] = __SSAT(inlet_v2, 28) >> attr_table.GAIN;
  attr_table.array[offset + 3] = __SSAT(inlet_v3, 28) >> attr_table.GAIN;
  attr_table.array[offset + 4] = __SSAT(inlet_v4, 28) >> attr_table.GAIN;
  attr_table.array[offset + 5] = __SSAT(inlet_v5, 28) >> attr_table.GAIN;
  attr_table.array[offset + 6] = __SSAT(inlet_v6, 28) >> attr_table.GAIN;
  attr_table.array[offset + 7] = __SSAT(inlet_v7, 28) >> attr_table.GAIN;
}

Privacy

© 2024 Zrna Research