Strudel (music)
Night Bus
A slow night-drive groove in Strudel: soft kick, rolling bass, chords passing like streetlights. Press play. The live example for the Strudel guide.
This is a music work. Before you press play, the flower is drawn from the work's own code, so every music work has its own. Press play and its petals move with the sound. How it works
Licence: CC BY-NC-SA 4.0: remix with credit, non-commercial, share alike
View the code
setcps(params.tempo / 60 / 4);
stack(
note("c1*4").s("sine").decay(0.18).sustain(0).gain(0.85),
s("white*8").hpf(6000).decay(0.04).sustain(0).gain(0.12).pan(0.3),
note("<a1 a1 c2 e2> <a1 a1 g1 e2>").s("sawtooth")
.lpf(300 + params.bright * 1600).decay(0.24).sustain(0.15).gain(0.42),
n("<0 2 4 6> <0 2 4 6> <-1 1 3 5> <-1 1 3 5>").scale("A3:minor")
.s("triangle").attack(0.4).release(1.2).gain(0.16).delay(0.25),
n("7 - 9 11 - 9 7 -").scale("A4:minor").s("sine")
.decay(0.5).sustain(0.1).gain(0.22).delay(0.45).pan(-0.3)
);