Skip to main content

Live Code Music

Cycle 0
120 BPM
1
2
3
4
5
6
7
8
9
10
11
12
BPM
120
Volume
50%
Reverb
30%
Delay
20%
Tap presets to try • Live updates as you typegohluke.com

Pattern Syntax

"kick snare kick snare" - basic sequence

"kick [hihat hihat]" - subdivide with brackets

"kick ~ snare ~" - rests with ~

Sounds

kick, snare, hihat, clap - drums

bass(C, 2), lead(G, 4), pad(A, 3), pluck(E, 5) - melodic

Effects (use s() wrapper)

s("pattern").reverb(0.5).lpf(800).duck(0.7)

Arpeggiation

arp("C E G B", "up").pluck(4) - up, down, updown, random

Speed

.fast(2) - 2x speed, .slow(2) - half speed

Sequences

seq([2, arp("A C E")], [2, arp("F A C")]) - chord progressions