tinit 16

sets the indexes of table to the value of the sliders starting at index 'offset'
Author: Robert Schirmer
License: BSD
Github: rbrt/data/tinit 16.axo

Inlets

int32.positive offset

bool32.rising trig

Outlets

None

Parameters

frac32.u.mapvsl b0

frac32.u.mapvsl b1

frac32.u.mapvsl b2

frac32.u.mapvsl b3

frac32.u.mapvsl b4

frac32.u.mapvsl b5

frac32.u.mapvsl b6

frac32.u.mapvsl b7

frac32.u.mapvsl b8

frac32.u.mapvsl b9

frac32.u.mapvsl b10

frac32.u.mapvsl b11

frac32.u.mapvsl b12

frac32.u.mapvsl b13

frac32.u.mapvsl b14

frac32.u.mapvsl b15

Attributes

objref table

Declaration
uint32_t ntrig;
Control Rate
if ((inlet_trig > 0) && !ntrig) {
  ntrig = 1;

  attr_table.array[inlet_offset] = __SSAT(param_b0, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 1] = __SSAT(param_b1, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 2] = __SSAT(param_b2, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 3] = __SSAT(param_b3, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 4] = __SSAT(param_b4, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 5] = __SSAT(param_b5, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 6] = __SSAT(param_b6, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 7] = __SSAT(param_b7, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 8] = __SSAT(param_b8, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 9] = __SSAT(param_b9, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 10] =
      __SSAT(param_b10, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 11] =
      __SSAT(param_b11, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 12] =
      __SSAT(param_b12, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 13] =
      __SSAT(param_b13, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 14] =
      __SSAT(param_b14, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 15] =
      __SSAT(param_b15, 28) >> attr_table.GAIN;
}

if (!(inlet_trig > 0))
  ntrig = 0;

Privacy

© 2024 Zrna Research