Skip to content

Instantly share code, notes, and snippets.

@marcoonroad
Last active June 28, 2026 14:00
Show Gist options
  • Select an option

  • Save marcoonroad/2b00a15270ebfa4094cceadb597c8c01 to your computer and use it in GitHub Desktop.

Select an option

Save marcoonroad/2b00a15270ebfa4094cceadb597c8c01 to your computer and use it in GitHub Desktop.
DJ plate backspins/spinbacks in Strudel REPL
// NOTE: this is an spinback/backspin (DJ hip-hop plates) implemented using
// FM-synthesis in Strudel, use with caution and with lower gains/octaves (bassline)
// - by the increasing index, the spinback would sound more "thin/stretched" on plate
$: note("<e0 eb0 f0 d#0>")
.scale("C:chromatic")
.scaleTranspose(12)
.sound("sawtooth")
.fast(4)
.color("red")
.fmwave("sine")
.fmi("<128 256 512 1024>")
.fmh(1/8)
.velocity(0.25)
.soft("1:0.25")
.scope()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment