vosimShaper

3-harmonic vosim shaper
Author: Remco van der Most
License: BSD
Github: sss/osc/vosimShaper.axo

Inlets

frac32buffer.bipolar external Ringmod input

frac32.bipolar external Ringmod width

frac32buffer phase

frac32 Rate A

frac32 Rate B

frac32 Rate C

frac32 Root Volume

frac32 a1

frac32 Volume B

frac32 Volume C

frac32 internal AM width

Outlets

frac32buffer real

Audio Rate
float32_t r;
float32_t s;
float32_t t;
int32_t u;
int32_t v;
int32_t w;
SINE2TINTERP((inlet_phase * (1 + (inlet_w1 >> 17))), r)
SINE2TINTERP((inlet_phase * (1 + ((inlet_w2 + inlet_w1) >> 17))), s)
SINE2TINTERP((inlet_phase * (1 + ((inlet_w3 + inlet_w1 + inlet_w2) >> 17))), t)
SINE2TINTERP(((inlet_phase << 5) - (1 << 30)), v)
w = (v >> 4);
u = (w >> 1) + (1 << 26);
outlet_real =
    ___SMMUL(___SMMUL(___SMMUL(___SMMUL(r, s), t), inlet_AMW << 4) +
                 ___SMMUL(r, inlet_a1 * 2) + ___SMMUL(s, inlet_a2 * 2) +
                 ___SMMUL(t, inlet_a3 * 2),
             u << 3) +
    ___SMMUL(w << 2, inlet_root << 2) +
    ___SMMUL(u << 3, ___SMMUL(inlet_RingWidth << 3, inlet_ExtRing << 2));

Privacy

© 2024 Zrna Research