Commit cb16ef

2026-06-04 08:09:51 lisa: Add dt7 page: Vibe Coding Music with Strudel (Seven Nation Army versions) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
/dev/null .. dt7/Vibe Coding Music with Strudel.md
@@ 0,0 1,49 @@
+# Vibe Coding Music with Strudel
+
+*A companion page to [Workshop 2 — Vibe Coding](/dt7/Workshop%202%20%E2%80%94%20Vibe%20Coding).*
+
+[Strudel](https://strudel.cc) 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](https://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.
+
+### Versions to explore
+
+**1. Class version (Track 1 from the workshop)** → [way2.cc/caf](https://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)](https://www.youtube.com/watch?v=59P3TbMsIFc)* by SoundFred.
+
+Code source: [whitestripes-sevennationarmy.txt](https://github.com/manfredscheucher/strudel-loops/blob/main/whitestripes-sevennationarmy.txt) in Manfred Scheucher's *strudel-loops* repo.
+
+```js
+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)](https://strudel.cc/#c2V0Y3BtKDEyNC80KQoKJGdpdDpub3RlKCI8WzUyQDMgNTIgNTVAMS41IDUyQDEuNSA1MF0gWzQ4QDQgNDdAMiAtQDJdPiIpLnNvdW5kKCJnbV9lbGVjdHJpY19ndWl0YXJfbXV0ZWQ6MyIpCgoka2ljazpzb3VuZCgiYmQhNCIpLmJhbmsoIkFrYWlMaW5uIikuZ2FpbigxLzQpCgokc25hcmU6c291bmQoIlstIHNkXSEyIikuYmFuaygiQWthaUxpbm4iKS5nYWluKDEvNCk=)
+
+> [!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.
+
+---
+
+## Credits
+
+- **Seven Nation Army** — The White Stripes (Jack White, 2003).
+- **Video** — *Tutorial for Coding Music in Strudel.cc: Seven Nation Army (by The White Stripes)* by [SoundFred](https://www.youtube.com/@theSoundFred) (YouTube).
+- **Code** — [Manfred Scheucher](https://github.com/manfredscheucher), *strudel-loops* repo (no licence stated — used for educational classroom purposes with attribution).
+- **Strudel** — [strudel.cc](https://strudel.cc), GNU Affero General Public License (AGPL).
+
+*Classroom use, with attribution.*
+
+← Back to [Year 7 Hub](/dt7/Year%207%20Hub)
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9