Vibe Coding Music with Strudel

A companion page to the Workshop 2 — Vibe Coding activity.

Strudel lets you write live-code music right in the browser — change a number, hear the beat change instantly. This page collects tracks to play with. The class activity track is way2.cc/caf — open that to follow along in the workshop.

More versions will be added as we find good ones.


Seven Nation Army — The White Stripes

The famous E E G E D C B bassline from Jack White's 2003 riff. Everyone knows it; it's a great one to pull apart and remix.

Hear the original first:

Versions to explore

1. Class version (Track 1 from the workshop) → way2.cc/caf

2. SoundFred's version — from the YouTube tutorial Tutorial for Coding Music in Strudel.cc: Seven Nation Army (by The White Stripes) by SoundFred.

Code source: whitestripes-sevennationarmy.txt in Manfred Scheucher's strudel-loops repo.

setcpm(124/4)

$git:note("<[52@3 52 55@1.5 52@1.5 50] [48@4 47@2 -@2]>").sound("gm_electric_guitar_muted:3")

$kick:sound("bd!4").bank("AkaiLinn").gain(1/4)

$snare:sound("[- sd]!2").bank("AkaiLinn").gain(1/4)

Open in Strudel (one click)

Note

Playing in Strudel: press Ctrl+Enter to start, Ctrl+. to stop. Try changing one number (like 124/4 or a MIDI note) and pressing Ctrl+Enter again — the beat updates live.


Stranger Things — Kyle Dixon & Michael Stein

The synth theme you pulled apart in Track 2 of the workshop.

Versions to explore

1. Class version (Track 2 from the workshop) → way2.cc/cae

2. farhankk360's intro theme — a fuller arrangement of the show's opening: warm pads, a heartbeat kick, a bass with a slider you can drag while it plays, plus flute and brass lines → way2.cc/cah


Credits

  • Seven Nation Army — The White Stripes (Jack White, 2003). Original: official music video (The White Stripes, YouTube).
  • Stranger Things — theme by Kyle Dixon & Michael Stein (Survive), for Netflix's Stranger Things. Class version: Strudel cover by "eefano". Intro-theme arrangement: farhankk360 (credited in the code header).
  • Video — Tutorial for Coding Music in Strudel.cc: Seven Nation Army (by The White Stripes) by SoundFred (YouTube).
  • Code — Manfred Scheucher, strudel-loops repo (no licence stated — used for educational classroom purposes with attribution).
  • Strudel — strudel.cc, GNU Affero General Public License (AGPL).

Classroom use, with attribution.

← Back to Year 7 Hub