Simple Beat// Simple Beat: basic rock groove, 100 BPM
// Kick on 1, 3 and the "and" of 3; snare on 2 and 4; straight 8th hats.
setcpm(100/4)
stack(
s("bd ~ ~ ~ bd bd ~ ~").gain(0.95),
s("~ ~ sd ~ ~ ~ sd ~").gain(0.85),
s("hh*8").gain("0.55 0.3".fast(4))
)
basicsdrums
Hi-Hat Pattern// Hi-Hat Pattern: house hats, 124 BPM (TR-909)
// 16th closed hats with an open hat on every offbeat; the closed hat
// that follows chokes it (cut group). Four-on-the-floor kick, clap on 2/4.
setcpm(124/4)
stack(
s("bd*4").bank("RolandTR909").gain(0.95),
s("~ cp ~ cp").bank("RolandTR909").gain(0.7),
s("[hh hh oh hh]*4").bank("RolandTR909")
.gain("[0.32 0.2 0.5 0.24]*4").cut(1)
)
rhythmdrums
Jazz Bass Line// Jazz Bass Line: walking bass over ii–V–I–VI in Bb, 132 BPM
// Cm7 | F7 | Bbmaj7 | G7 — chord tone on beat 1, chromatic approach on 4.
// Swing ride ("ding, ding-da") and hi-hat on 2 and 4.
setcpm(132/4)
stack(
note("<[c2 d2 eb2 e2] [f2 a2 c3 b2] [bb1 d2 f2 f#2] [g2 b2 d2 db2]>")
.s("jazzbass").clip(1).gain(0.9),
s("rd [rd ~ rd] rd [rd ~ rd]").bank("AkaiMPC60").gain(0.35),
s("~ hh ~ hh").bank("AkaiMPC60").gain(0.3)
)
melodicbassjazz
Rhodes Piano// Rhodes Piano: ii–V–I–VI in C with rootless voicings, 84 BPM
// Dm9 | G13 | Cmaj9 | A7(b9 b13) — common tones held, inner voices move
// by step. Bass plays roots; 3+3+2 comping push.
setcpm(84/4)
stack(
note("<[f3,a3,c4,e4] [f3,b3,e4,a4] [e3,g3,b3,d4] [g3,c#4,f4,a#4]>")
.struct("x ~ ~ x ~ ~ x ~")
.s("rhodes").clip(1.2).gain(0.7).room(0.25),
note("<d2 g2 c2 a1>").struct("x ~ ~ ~ x ~ ~ ~")
.s("jazzbass").clip(1).gain(0.8)
)
melodicpianojazz
Flute Melody// Flute Melody: 4-bar question/answer phrase in C major, 104 BPM
// Melody: C | G | Am | G (ends on a half cadence). Soft piano under it.
setcpm(104/4)
stack(
note("<[e4 g4 a4 [g4 e4]] [d4 ~ [e4 d4] b3] [e4 g4 c5 [b4 a4]] [g4 ~ ~ ~]>")
.s("flute").clip(1).gain(0.8).room(0.3),
note("<[c3,e3,g3] [b2,d3,g3] [a2,c3,e3] [b2,d3,g3]>")
.s("piano").clip(1).gain(0.35)
)
melodicwind
Piano Melody// Piano Melody: I–vi–IV–V in C, 96 BPM
// Left hand: broken-chord 8ths. Right hand: a simple singable line.
setcpm(96/4)
stack(
note("<[c2 g2 c3 e3 g3 e3 c3 g2] [a1 e2 a2 c3 e3 c3 a2 e2] [f1 c2 f2 a2 c3 a2 f2 c2] [g1 d2 g2 b2 d3 b2 g2 d2]>")
.s("piano").clip(1.5).gain(0.55),
note("<[e4 ~ g4 ~] [e4 ~ c4 ~] [a4 ~ g4 f4] [d4 ~ ~ ~]>")
.s("piano").clip(1).gain(0.75)
)
melodicpiano
Stage 73 Funk// Stage 73 Funk: E dorian vamp Em9 | A13, 100 BPM
// Short 16th-note stabs on the offbeats, syncopated bass, snare on 2/4
// with ghost notes.
setcpm(100/4)
stack(
note("<[g3,b3,d4,f#4] [g3,c#4,f#4,b4]>")
.struct("[~ x ~ x] [~ ~ x ~] [~ x ~ ~] [x ~ x ~]")
.s("stage73").clip(0.35).gain(0.65),
note("<[e1 ~ e2 ~ ~ e1 ~ g1 ~ a1 ~ b1 d2 ~ b1 ~] [a1 ~ a2 ~ ~ a1 ~ c#2 ~ e2 ~ f#2 g2 ~ e2 ~]>")
.s("ebass").clip(0.8).gain(0.85),
s("bd ~ ~ bd ~ ~ ~ ~ ~ ~ bd ~ ~ ~ ~ ~").gain(0.9),
s("~ ~ ~ ~ sd ~ ~ sd ~ sd ~ ~ sd ~ ~ ~")
.gain("0 0 0 0 0.85 0 0 0.18 0 0.15 0 0 0.85 0 0 0"),
s("hh*16").gain("[0.4 0.2 0.3 0.2]*4")
)
melodicfunk
Bossa Nova// Bossa Nova: I–VI–ii–V in C, 132 BPM
// Cmaj9 | A13 | Dm9 | G13
// - Rim: the 2-bar bossa clave (3 + 2) on the 8th-note grid
// - Kick: surdo-style "1, and-of-2, 3, and-of-4", soft
// - Bass: root on 1, fifth on the and-of-2 tied to 3
// - Rhodes: syncopated comping, voicings move by step
// - Cabasa: steady 8ths, accent on the offbeat
setcpm(132/4)
stack(
s("<[rim ~ ~ rim ~ ~ rim ~] [~ ~ rim ~ ~ rim ~ ~]>").bank("AkaiMPC60").gain(0.5),
s("bd ~ ~ bd bd ~ ~ bd").gain("0.55 0 0 0.35 0.5 0 0 0.35"),
s("cabasa*8").gain("0.18 0.3".fast(4)),
note("<[c2 ~ ~ g1 g1 ~ ~ ~] [a1 ~ ~ e2 e2 ~ ~ ~] [d2 ~ ~ a1 a1 ~ ~ ~] [g1 ~ ~ d2 d2 ~ ~ ~]>")
.s("jazzbass").clip(1).gain(0.85),
note("<[e3,g3,b3,d4] [e3,g3,c#4,f#4] [f3,a3,c4,e4] [f3,b3,e4,a4]>")
.struct("<[x ~ x ~ ~ x ~ x] [~ x ~ x ~ ~ x ~]>")
.s("rhodes").clip(0.9).gain(0.55).room(0.2)
)
rhythmlatin
Vintage TR-808// Vintage TR-808: classic electro groove, 110 BPM
// Syncopated kick, clap on 2 and 4, 16th hats with accents, cowbell
// figure on top.
setcpm(110/4)
stack(
s("bd ~ ~ ~ ~ ~ bd ~ ~ ~ bd ~ ~ ~ ~ ~").bank("RolandTR808").gain(1),
s("~ ~ ~ ~ cp ~ ~ ~ ~ ~ ~ ~ cp ~ ~ ~").bank("RolandTR808").gain(0.75),
s("hh*16").bank("RolandTR808").gain("[0.45 0.2 0.3 0.2]*4"),
s("~ ~ cb ~ ~ cb ~ ~ ~ ~ cb ~ ~ ~ ~ ~").bank("RolandTR808").gain(0.35)
)
drumsvintage
Kalimba// Kalimba: arpeggiated i–VI–III–VII in A minor, 92 BPM
// Am | F | C | G — 8th-note arpeggios over marimba roots.
setcpm(92/4)
stack(
note("<[a4 c5 e5 a5 e5 c5 e5 c5] [a4 c5 f5 a5 f5 c5 f5 c5] [g4 c5 e5 g5 e5 c5 e5 c5] [g4 b4 d5 g5 d5 b4 d5 b4]>")
.s("kalimba").clip(1).gain(0.7).room(0.3),
note("<a2 f2 c3 g2>").struct("x ~ ~ ~ x ~ ~ ~")
.s("marimba").clip(1).gain(0.6)
)
melodicethnic
Simple Synth Melody// Simple Synth Melody: sawtooth arpeggio in A minor, 120 BPM
// Am | F | C | G, 8th notes, slow filter sweep; sine bass on the roots.
setcpm(120/4)
stack(
note("<[a3 c4 e4 a4]*2 [f3 a3 c4 f4]*2 [c3 e3 g3 c4]*2 [g3 b3 d4 g4]*2>")
.s("sawtooth").lpf(sine.slow(8).range(700, 2600))
.decay(0.18).sustain(0.2).gain(0.4),
note("<a1 f1 c2 g1>").s("sine").gain(0.6)
)
basicssynth
Bass Synth// Bass Synth: synthwave octave bass in A minor, 112 BPM
// Am | F | C | G — root/octave 8ths, filtered square, kick and snare.
setcpm(112/4)
stack(
note("<[a1 a2]*4 [f1 f2]*4 [c2 c3]*4 [g1 g2]*4>")
.s("square").lpf(900).decay(0.2).sustain(0.3).gain(0.45),
s("bd*4").gain(0.85),
s("~ sd ~ sd").gain(0.7)
)
basssynth
Full Drum Kit// Full Drum Kit: 4-bar rock phrase, 108 BPM
// Three bars of groove, a snare/tom fill in bar 4, crash on bar 1.
setcpm(108/4)
stack(
s("<[bd ~ ~ ~ bd bd ~ ~]!3 [bd ~ ~ ~ bd ~ ~ ~]>").gain(0.95),
s("<[~ ~ sd ~ ~ ~ sd ~]!3 [~ ~ sd ~ [sd sd] [sd sd] ~ ~]>").gain(0.85),
s("<~!3 [~ ~ ~ ~ ~ ~ ht lt]>").gain(0.8),
s("<[hh*8]!3 [hh hh hh hh ~ ~ ~ ~]>").gain(0.4),
s("<cr ~ ~ ~>").gain(0.5)
)
rhythmdrums
Orchestral Percussion// Orchestral Percussion: 4-bar march, 108 BPM
// Bass drum on 1 and 3, snare march rudiment, timpani accents, timpani
// roll into a suspended cymbal at the end of the phrase.
setcpm(108/4)
stack(
s("bassdrum1 ~ bassdrum1 ~").gain(0.8),
s("<[sn ~ [sn sn] sn]!3 [sn*8]>").gain(0.55),
s("<[timpani ~ ~ ~]!3 [~ ~ timpani_roll ~]>").gain(0.7),
s("<~!3 [~ ~ ~ sus_cymbal]>").gain(0.45)
)
drumsorchestral
Akai MPC Beat// Akai MPC Beat: boom-bap, 90 BPM, 60% swing on the 16ths (MPC60)
// Kick on 1, the "a" of 2 and the "and" of 3; snare on 2 and 4; dusty
// Rhodes loop Am9 | Fmaj7 under it.
setcpm(90/4)
stack(
s("bd ~ ~ ~ ~ ~ ~ bd ~ ~ bd ~ ~ ~ ~ ~").bank("AkaiMPC60").gain(1),
s("~ ~ ~ ~ sd ~ ~ ~ ~ ~ ~ ~ sd ~ ~ ~").bank("AkaiMPC60").gain(0.85),
s("hh*16").bank("AkaiMPC60").gain("[0.4 0.15 0.28 0.15]*4"),
note("<[c4,e4,g4,b4] [c4,e4,f4,a4]>").struct("x ~ ~ ~ ~ ~ ~ ~ ~ ~ x ~ ~ ~ ~ ~")
.s("rhodes").clip(2).lpf(1800).gain(0.45)
).swingBy(1/5, 8)
drumsvintagehip-hop