randomblips - guyjbrown/bleepmanual GitHub Wiki

Random blips (randomblips)

Simple synth demonstrating the use of a random parameter tweak. Each new note gets a random filter cutoff, within a range determined by the randomness parameter.

Author: Guy Brown

Parameters

parameter minimum maximum default description
cutoff 0 1 0.5 controls the brightness of the sound
randomness 0 1 0.5 the amount of randomness
sub_level 0 1 0.5 controls the level of the sub oscillator an octave below the note you play
attack 0 5 0.01 attack time
decay 0 1 0.2 controls the decay time of the envelope
sustain 0 1 0 sustain level
release 0 5 0.1 release time
volume 0 1 0.7 overall volume

WebAudio graph

graph TD;
   vco1_id(["SAW-OSC:vco1"])-->mix1_id("VCA:mix1");
   vco2_id(["SQR-OSC:vco2"])-->mix2_id("VCA:mix2");
   mix1_id("VCA:mix1")-->sum_id("VCA:sum");
   mix2_id("VCA:mix2")-->sum_id("VCA:sum");
   sum_id("VCA:sum")-->filter_id["LPF:filter"];
   filter_id["LPF:filter"]-->filter2_id["LPF:filter2"];
   filter2_id["LPF:filter2"]-->vca_id("VCA:vca");
   vca_id("VCA:vca")-->audio_id("audio");
   env_id[/"ADSR:env"\]-.->vca_id("VCA:vca");
   env2_id[/"ADSR:env2"\]-.->filter_id["LPF:filter"];

Examples