Skip to content

Instantly share code, notes, and snippets.

@marcoonroad
Last active February 11, 2026 16:43
Show Gist options
  • Select an option

  • Save marcoonroad/0d04b94f8b68ffbce8e19dbfaed23c5a to your computer and use it in GitHub Desktop.

Select an option

Save marcoonroad/0d04b94f8b68ffbce8e19dbfaed23c5a to your computer and use it in GitHub Desktop.
72 notes per octave Guitar in Strudel REPL
let tuning = 440
let root = 261.63
let edo = 72
let tempo = 135
let signature = 4
let ratio = Math.pow(2, 1/edo)
let frequencies = Array.from(
{ length: edo },
(_, semitone) =>
root * Math.pow(ratio, semitone)
)
$: i(run(edo).fast(signature * 6))
.tune(frequencies)
.mul(tuning)
.freq()
.slow(frequencies.length)
.sound("gm_overdriven_guitar")
.soft("2:0.15")
.legato(0.75)
.cutoff(1000)
.resonance(1)
.compressor("-35:5:5:0.001:0.5")
.cpm(tempo/signature)
.chorus(0.9)
.postgain(0.8)
.attack(0.25)
.release(0.25)
._pitchwheel({ edo: edo })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment