#! beatscript 2 tempo 140 key c let kicks = x ~ ~ ~ ~ ~ ~ ~ ~ ~ x ~ ~ ~ ~ ~ let kicks2 = x ~ ~ ~ ~ ~ ~ x ~ ~ x ~ ~ ~ ~ ~ let snares = ~ ~ ~ ~ ~ ~ ~ ~ x ~ ~ ~ ~ ~ ~ ~ let claps = ~ ~ ~ ~ ~ ~ ~ ~ x ~ ~ ~ ~ ~ ~ x let hats = ~ ~ x ~ ~ ~ x ~ ~ ~ x ~ ~ x x ~ let wc = c1! ~ ~ c1 ~ ~ e1^ ~ c1 ~ ~ ~ g1 ~ c2 ~ let wg = g1! ~ ~ g1 ~ ~ b1^ ~ g1 ~ ~ ~ d2 ~ g1 ~ let wa = a1! ~ ~ a1 ~ ~ c2^ ~ a1 ~ ~ ~ e1 ~ a1 ~ let wf = f1! ~ ~ f1 ~ ~ a1^ ~ f1 ~ ~ f1 g1 ~ a1^ ~ let subs = let hook_a = e5 ~ g5 ~ c6 ~ g5 ~ a5 ~ g5 ~ e5 ~ d5 ~ let hook_b = e5 ~ g5 ~ c6 ~ d6 ~ e6 ~ d6 ~ c6 ~ a5 ~ let sparkle = c6 e6 g6 e6 c6 e6 g6 c7 b5 d6 g6 d6 a5 c6 f6 a6 let changes = def groove(deck) { deck $deck: kick kicks | snare snares | clap claps | hihat humanize(hats, 3) vel=70..100 } def wub(bars) { deck A: bass every(4, rotate([], 2), []) inst=wobble-lead repeat $bars every 1 bars { master: filter lp 400 -> 4000 over 1 bars } } def riser(bars) { deck A: snare master: filter hp 100 -> 5000 over $bars bars master: reverb 0.1 -> 0.5 over $bars bars } section intro 8 bars { deck A: kick kicks vel=60..80 | hihat hats vel=45..70 deck B: harmony changes inst=glass-pad vel=90..110 | arp sparkle inst=music-box vel=60..85 master: filter lp 500 -> 7000 over 8 bars deck A: level 0.5 deck B: level 1 } section build 8 bars { deck A: kick kicks | hihat x*8 vel=55..100 deck B: harmony changes inst=glass-pad | melody inst=bright-pluck | arp sparkle inst=music-box vel=60..85 deck A: level 0.9 riser(8) } section drop 16 bars { master: filter off master: reverb 0.15 groove(A) wub(16) deck A: level 0.8 deck B: melody inst=edm-pluck vel=95..120 | harmony subs inst=sub-bass vel=110..127 } section breakdown 8 bars { deck A: kick x ~ ~ ~ vel=60..75 | hihat degrade([x*8], 0.4, 11) vel=60..90 deck B: harmony changes inst=warm-pad | melody slow(hook_b, 2) inst=music-box | arp sparkle inst=kalimba vel=55..80 master: filter lp 7000 -> 1500 over 8 bars master: reverb 0.45 } section build2 4 bars { deck A: kick kicks | hihat x*8 vel=60..100 deck B: harmony changes inst=glass-pad | melody inst=bright-pluck riser(4) } section drop2 16 bars { master: filter off master: reverb 0.15 deck A: kick kicks2 | snare snares | clap claps | hihat humanize(hats, 3) vel=70..100 deck A: bass every(2, [], transpose([], 12)) inst=drop-bass repeat 16 every 1 bars { master: filter lp 300 -> 5000 over 1 bars } deck A: level 0.85 deck B: melody octave([], 0) inst=trance-lead vel=95..120 | harmony subs inst=sub-bass vel=110..127 | arp sparkle inst=music-box vel=55..80 } section outro 8 bars { deck A: kick kicks vel=50..70 | hihat hats vel=40..65 deck B: harmony changes inst=glass-pad | arp sparkle inst=music-box vel=50..75 master: filter lp 8000 -> 500 over 8 bars deck A: level 0.3 } arrange intro build drop breakdown build2 drop2 outro end after outro