scope buffer

bipolar audio rate signal oscilloscope (time domain), showing 1 sample buffer of 16 samples
Author: Johannes Taelman
License: BSD
Github: disp/scope buffer.axo

Inlets

frac32buffer.bipolar input

bool32 hold

Outlets

None

Displays

frac4byte.vbar v0

frac4byte.vbar v1

frac4byte.vbar v2

frac4byte.vbar v3

Control Rate
if (!inlet_hold) {
  int8_t t[16];
  int i;
  for (i = 0; i < 16; i++)
    t[i] = (uint8_t)(inlet_in[i] >> 21);
  disp_v0 = *((int32_t *)(&t[0]));
  disp_v1 = *((int32_t *)(&t[4]));
  disp_v2 = *((int32_t *)(&t[8]));
  disp_v3 = *((int32_t *)(&t[12]));
}

Privacy

© 2024 Zrna Research