disp float b8

display 8 indexes of a table as floats,starting from 'offset'.bipolar.
Author: Robert Schirmer
License: BSD
Github: rbrt/disp/disp float b8.axo

Inlets

int32 offset inside the table

Outlets

None

Parameters

int32 offset

Attributes

objref table

Displays

frac32.vbar d0

frac32.vbar d1

frac32.vbar d2

frac32.vbar d3

frac32.vbar d4

frac32.vbar d5

frac32.vbar d6

frac32.vbar d7

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

disp_d0 = ((attr_table.array[__USAT((offset + 0), attr_table.LENGTHPOW)]
            << attr_table.GAIN) >>
           1) +
          (1 << 26);
disp_d1 = ((attr_table.array[__USAT((offset + 1), attr_table.LENGTHPOW)]
            << attr_table.GAIN) >>
           1) +
          (1 << 26);
disp_d2 = ((attr_table.array[__USAT((offset + 2), attr_table.LENGTHPOW)]
            << attr_table.GAIN) >>
           1) +
          (1 << 26);
disp_d3 = ((attr_table.array[__USAT((offset + 3), attr_table.LENGTHPOW)]
            << attr_table.GAIN) >>
           1) +
          (1 << 26);

disp_d4 = ((attr_table.array[__USAT((offset + 4), attr_table.LENGTHPOW)]
            << attr_table.GAIN) >>
           1) +
          (1 << 26);
disp_d5 = ((attr_table.array[__USAT((offset + 5), attr_table.LENGTHPOW)]
            << attr_table.GAIN) >>
           1) +
          (1 << 26);
disp_d6 = ((attr_table.array[__USAT((offset + 6), attr_table.LENGTHPOW)]
            << attr_table.GAIN) >>
           1) +
          (1 << 26);
disp_d7 = ((attr_table.array[__USAT((offset + 7), attr_table.LENGTHPOW)]
            << attr_table.GAIN) >>
           1) +
          (1 << 26);

Privacy

© 2024 Zrna Research