Skip to content

Instantly share code, notes, and snippets.

@raymyers
Last active September 28, 2025 19:53
Show Gist options
  • Select an option

  • Save raymyers/90167a07c7e89062c4320ce75c024371 to your computer and use it in GitHub Desktop.

Select an option

Save raymyers/90167a07c7e89062c4320ce75c024371 to your computer and use it in GitHub Desktop.
Triple Trouble in Strudel
// https://strudel.cc/workshop/getting-started
// Made by Ray Myers for the Year of DSLs on "Craft vs Cruft" YouTube channel.
// Apologies to the Beastie Boys.
setcpm(110/4)
$: note(`<
[ -!6 c2 d2@2 -!7 ]
[ -!4 d2 c2 a1 d1@2 -!7 ]
>
`)
.s("gm_electric_bass_finger, gm_piano")
.gain(1.0)
.color("tan")
.delay(0.1)
.distort("1.5")
._punchcard()
_$: s("bd [ cp:2] [- bd] [cp:2] ")
.gain(1.5)
.color("pink")
.bank("tr808")
.distort(1.5)
._punchcard()// [1 2 3 4] [5 6 7 8] [9 10 11 12] [13 14 15 16]
$: s(`
[bd - - -] [[sd, cp] - bd -] [ - - bd - ] [sd, cp]
`)
.gain(1.5)
.color("pink")
.bank("tr707")
.distort(0.5)
._punchcard()
$: s("hh!3 [hh rc]")
.gain(0.6)
.bank("tr808")
.color("aqua")
.delay("0.2")
.distort(2)
.room(0.2)
.drive(0.2)
._punchcard()
samples('github:yaxu/clean-breaks')
_$: s("apache/2")
.gain(1.2)
.fit()
.hpf(700)
.slice(16, `
0 1 2 3 4 5 6 7
8 9 10 11 12 12 14 <15 14>`)
.slow(2)
._scope()
$: s("delight/2")
.gain(0.8)
.fit()
.hpf(800)
.slice(16, `0 1 <2 3> 3 4 5 6 7`)
.delay(0.2)
.room(0.2)
._scope()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment