timeSpread

Sets timing division between left and right time of the delayModPing module. Parts1 and parts2 get summed and this outcome divides part1. Internally in the delayModPing, this is scaled back to the internal left/right timing difference.
Author: Remco van der Most
License: BSD
Github: sss/delay/timeSpread.axo

Inlets

int32 set parts of time 1

int32 parts2

Outlets

frac32 out

Control Rate
int32_t in = (inlet_parts1 + inlet_parts2) << 21;
int32_t reci;
if (in) {
  float inf = in;
  reci = (int)(281474976710656.f / inf);
} else
  reci = 1 << 27;

outlet_out = ((reci * inlet_parts1) - (1 << 26)) * 2;

Privacy

© 2024 Zrna Research