subbass - guyjbrown/bleepmanual GitHub Wiki

tBD subbass synth (subbass)

A subbass synth with triangle, saw and sin oscillators

Author: Guy J Brown

Parameters

parameter minimum maximum default description
cutoff 100 5000 200 Filter cutoff in Hz
resonance 0 25 0 Filter resonance
sin_level 0 1 0.8 Level of sin oscillator
tri_level 0 1 0 Level of triangle oscillator
saw_level 0 1 0.1 Level of saw oscillator
volume 0 1 0.8 Overall volume
tracking 0 1 0 Pitch tracking of filter cutoff. When tracking is 0 the filter cutoff is set to the given cutoff value. When tracking is 1 the filter cutoff tracks the pitch of the note.
attack 0 5 0.05 Envelope attack time in seconds
decay 0 5 0.5 Envelope decay time in seconds
sustain 0 1 0.9 Envelope sustain level
release 0 5 0.1 Envelope release time in seconds

WebAudio graph

graph TD;
   triosc_id(["TRI-OSC:triosc"])-->trigain_id("VCA:trigain");
   trigain_id("VCA:trigain")-->mix_id("VCA:mix");
   sinosc_id(["SIN-OSC:sinosc"])-->singain_id("VCA:singain");
   singain_id("VCA:singain")-->mix_id("VCA:mix");
   sawosc_id(["SAW-OSC:sawosc"])-->sawgain_id("VCA:sawgain");
   sawgain_id("VCA:sawgain")-->mix_id("VCA:mix");
   mix_id("VCA:mix")-->lowpass_id["LPF:lowpass"];
   lowpass_id["LPF:lowpass"]-->vca_id("VCA:vca");
   vca_id("VCA:vca")-->audio_id("audio");
   env_id[/"ADSR:env"\]-.->vca_id("VCA:vca");

Examples