frac32.bipolar pitch
frac32 timbre
frac32 color
bool32.rising strike
frac32buffer.bipolar sine wave
frac32.s.map.pitch pitch
frac32.u.map timbre
frac32.u.map color
braids_digital_deriv::Kick osc;
bool pstrike;
osc.Init();
pstrike = 0;
osc.set_parameters(__USAT((inlet_timbre + param_timbre) >> 12, 15),
__USAT((inlet_color + param_color) >> 12, 15));
osc.set_pitch((64 << 7) + ((param_pitch + inlet_pitch) >> 14));
bool strike = 0;
if (inlet_strike && !pstrike) {
pstrike = 1;
strike = 1;
} else if (!inlet_strike) {
pstrike = 0;
}
osc.Render(&outlet_wave[0], BUFSIZE, strike);