sin

sine function, -64..64 phase corresponds to -360 to 360 degrees
Author: Johannes Taelman
License: BSD
Github: math/sin.axo

IO Variants: 2


Variant: 1

Inlets

frac32 phase

Outlets

frac32 sin(phase)

Control Rate
int32_t r;
SINE2TINTERP(inlet_phase << 5, r)
outlet_out = (r >> 4);

Variant: 2

Inlets

frac32buffer phase

Outlets

frac32buffer sin(phase)

Audio Rate
int32_t r;
SINE2TINTERP(inlet_phase << 5, r)
outlet_out = (r >> 4);

Privacy

© 2024 Zrna Research