int32.positive note
int32.positive velo
None
uint8_t pren;
uint8_t prev;
static const uint8_t LENGTHPOW = 7;
static const uint8_t LENGTH = 1 << 7;
static const uint8_t LENGTHMASK = (1 << 7) - 1;
static const uint8_t BITS = 8;
static const uint8_t GAIN = 20;
uint8_t *array;
static uint8_t _array[attr_poly][LENGTH] __attribute__((section(".sdram")));
array = &_array[parent->polyIndex][0];
{
int i;
for (i = 0; i < LENGTH; i++)
array[i] = 0;
}
if ((inlet_note != pren) || (inlet_velo != prev)) {
array[__USAT((inlet_note), LENGTHPOW)] = inlet_velo;
pren = inlet_note;
prev = inlet_velo;
}