Playing melodies with Strudel
Strudel is a live coding music environment. Copy these patterns and try them at strudel.cc/try.
Interstellar - Main Theme (Hans Zimmer)
note("a3 [e4 a4] c5 [b4 a4] g4 [f#4 e4] d4 e4")
.sound("piano").slow(2)
Merry Go Round of Life - Howl’s Moving Castle
note("[d4 f4] [a4 g4] [f4 e4] [d4 c4] d4 ~ [d4 f4] a4")
.sound("piano").slow(2)
My Neighbor Totoro Theme
note("c4 e4 g4 c5 ~ b4 g4 e4 c4")
.sound("piano").slow(1.5)
Running Up That Hill - Kate Bush
note("c4 c4 c4 eb4 f4 ~ f4 eb4 c4 ~ c4 c4 eb4 f4 g4")
.sound("sawtooth").lpf(800).slow(2)
Key syntax:
note("c4 d4 e4")- play notes in sequence[a4 b4]- subdivide (both notes in one beat)~- rest.slow(2)- half speed.sound("piano")- instrument