TB303 style bass lines - guyjbrown/bleepmanual GitHub Wiki

Example of how to make an acid base line:

use_bpm(120)
use_synth("rolandtb")
tim = 0.25
push_fx("overdrive", {postGain=0.5})
push_fx("stereo_delay", {wetLevel=0.1,feedback=0.2,leftDelay=2 * tim,rightDelay=4 * tim})
push_fx("reverb_medium")
notes = {C3,Cs3,C3,C3,C3,C3,C4,C4,C3,C3,C3,C3,C3,Ds3,Cs3,C3}
bends = {0,0,0,0,C4,0,0,Cs3,0,C4,0,0,0,0,0,0}
accent = {0.3,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.2,0.3,0.2}
the_cutoff = 1000
for i = 1, 4 do
  play_pattern(notes, {
    duration=tim,
    gate=0.65,
    level=accent,
    bend=bends,
    bend_time=0.7,
    env_mod=0.5,
    resonance=0.5,
    volume=0.4,
    cutoff=the_cutoff})
  the_cutoff = the_cutoff + 1000
end