Examples / Songs / Genres
After Midnight
warehouse acid house · A minor · 125 BPM · 28-bar arrangement
Play in Cycletron Opens it in the app in your browser, with the visualizers. Desktop browsers only.
// After Midnight — warehouse acid house · A minor · 125 BPM · 28-bar arrangement
setbpm(125);
"<intro verse build drop breakdown drop outro>".slow(4).pickRestart({
intro: stack(
stack(
s("bd*4").lpf(900).gain(0.68),
s("[~ hh]*4").hpf(5200).gain(0.13)
).bank("RolandTR909"),
note("<[a2 ~ a2 ~ e3 ~ c3 ~] [a2 ~ c3 ~ e3 ~ g3 ~] [f2 ~ a2 ~ c3 ~ e3 ~] [g2 ~ b2 ~ d3 ~ f3 ~]>")
.s("sawtooth").lpf(520).resonance(14).decay(0.12).sustain(0.06).gain(0.28)
),
verse: stack(
stack(
s("bd*4").gain(0.78),
s("~ cp ~ cp").gain(0.44),
s("[~ hh]*4").hpf(5400).gain(0.17)
).bank("RolandTR909"),
note("<[a2 c3 e3 g3 a2 e3 d3 c3] [a2 e3 g3 e3 c3 b2 a2 e3] [f2 a2 c3 e3 f3 e3 c3 a2] [g2 b2 d3 f3 g3 d3 b2 g2]>")
.s("sawtooth").lpf(820).resonance(16).decay(0.1).sustain(0.08).gain(0.34)
),
build: stack(
stack(
s("bd*4").gain(0.8),
s("~ cp ~ cp").gain(0.46),
s("hh*16").hpf(6000).gain("[0.15 0.08]*8"),
s("~ ~ ~ sd*4").gain(0.24)
).bank("RolandTR909"),
note("<[a2 c3 e3 g3 a3 g3 e3 c3] [a2 e3 g3 a3 g3 e3 c3 b2] [f2 a2 c3 e3 f3 e3 c3 a2] [g2 b2 d3 f3 g3 f3 d3 b2]>")
.s("sawtooth").lpf(saw.range(700, 1800).slow(4)).resonance(17).decay(0.1).sustain(0.08).gain(0.34),
note("<[a3,c4,e4] [g3,b3,d4] [f3,a3,c4] [g3,b3,d4]>")
.struct("~ ~ 1 ~").s("sawtooth").release(0.12).lpf(1400).room(0.2).gain(0.16).pan(0.65)
),
drop: stack(
stack(
s("bd*4").gain(0.84),
s("~ cp ~ cp").gain(0.48),
s("hh*16").hpf(6200).gain("[0.17 0.09]*8"),
s("~ oh ~ oh").gain(0.26)
).bank("RolandTR909"),
note("<[a2 c3 e3 g3 a3 e3 d3 c3] [a2 e3 a3 g3 e3 c3 b2 e3] [f2 a2 c3 f3 e3 c3 a2 e3] [g2 b2 d3 g3 f3 d3 b2 a2]>")
.s("superzow").lpf(sine.range(650, 2300).slow(4)).resonance(18).decay(0.09).sustain(0.07).gain(0.36),
note("<[a3,c4,e4] [g3,b3,d4] [f3,a3,c4] [g3,b3,d4]>")
.struct("~ 1 ~ 1").s("sawtooth").release(0.12).lpf(1750).room(0.24).gain(0.18).pan(0.68)
),
breakdown: stack(
s("bd ~ ~ ~").bank("RolandTR909").lpf(650).gain(0.56),
note("<a1 e2 f1 g1>").s("sine").attack(0.04).release(0.9).gain(0.38),
note("<[a2 ~ e3 ~] [e3 ~ c3 ~] [f2 ~ c3 ~] [g2 ~ d3 ~]>")
.s("sawtooth").lpf(saw.range(350, 1100).slow(4)).resonance(15).room(0.36).gain(0.22)
),
outro: stack(
stack(
s("bd*4").lpf(isaw.range(500, 1400).slow(4)).gain(0.66),
s("[~ hh]*4").hpf(5200).gain(0.12)
).bank("RolandTR909"),
note("<[a2 ~ e3 ~ a2 ~ c3 ~] [a2 ~ e3 ~ g3 ~ e3 ~] [f2 ~ c3 ~ e3 ~ c3 ~] [g2 ~ d3 ~ b2 ~ g2 ~]>")
.s("sawtooth").lpf(isaw.range(380, 900).slow(4)).resonance(13).gain(0.25)
)
})