k2f

converts control-rate ticks to units suitable for setting the frequency of oscillators
Author: robert schirmer
License: who cares
Github: rbrt/math/k2f.axo

Inlets

int32 kticks

Outlets

frac32 freq

Declaration
float tb;
Control Rate
if (inlet_kticks) {
  outlet_freq = (int)(281474976710656.f / (inlet_kticks * (128 << 7)));
} else
  outlet_freq = 0;

Privacy

© 2024 Zrna Research