// strudel.cc

setCps(80/60/4)

let drumGain = .5

$: s("white").beat("2,4,8,12,14", 16).lpf(4000).postgain(drumGain)._punchcard()
$: s("white").beat("1, 5, 10", 16).lpf(200).gain(6).room(4).postgain(drumGain)._punchcard()
$: s("white").beat("0,6,16", 16).hpf(4000).postgain(drumGain)._punchcard()

$: n("<0 5 3 4 7>*2".sub("14, 7")).scale("g:major").s("supersaw").detune(1).lpf(200).lpenv(1).lpq(10).gain(1.7)._pianoroll()
$: s("gm_synth_strings_2").n("<0 5 3 4 7>".add("<0 ~>*2")).seg(8).scale("g:major").gain(.4)._pianoroll()
