No idea yet


Just some drum patterns

Started from this youtube tutorial

// https://www.youtube.com/watch?v=cszrTchn2kU
setcps(113 / 120 / 2);
let kick = s("[bd:5 bd:5 bd:5 <bd:5 [bd:5@3 bd:5]>]")
.bank("ViscoSpaceDrum")
.clip(0.9);
let snare = s("[- sd:1]!2").bank("ViscoSpaceDrum").gain(0.8);
let hat = s("[<oh:5 - > hh <[- - hh:1?] -> hh:4]*2")
.bank("RolandMC303")
.clip(0.8)
.gain(rand.range(0.7, 0.9));
let shaker = n(irand(5))
.segment(8)
.fast(2)
.sound("RolandMC303_sh")
.gain(rand.range(0.2, 0.5));
// todo make this sound like fatter like a pad. They did it with a wavetable something
// todo sidechain this and the other pad off the bd
let pad = n(`<[0,2,4] [1,2,4] [2,4,-1] <[3,5,0] [-1,1,4]>>`)
.scale("F3:minor")
.struct("x")
.slow(2)
.s("sine");
let mid_pad = n(`<0 1 2 3 5 4 3 2>`)
.scale("F2:minor")
.struct("x")
.slow(2)
.s("sine");
// TODO make this be a plucky sound
// todo put some kind of lfo on this to move the lpf
let riff = n(`[0!12 <[1!2 2!2]!3 [2!2 1!2]>@4]`)
.scale("F3:minor")
.s("sawtooth")
.sometimesBy(0.75, (x) => x.transpose(choose(-12, -24)))
.unison(3)
.distort("2:0.6")
.gain("[0.4 0.9!3]*4");
let drums = stack(
// kick,
// snare,
hat,
shaker,
)
// remember you have the vowel formant filtery things you could play with
.vowel("<e i o u ae aa oe ue y uh un en an on>@4")
.postgain(2);
stack(kick, snare, drums, pad, mid_pad, riff.postgain(0.8));
//.spectrum({speed: 2})