Skip to content

Instantly share code, notes, and snippets.

@RH2

RH2/1

Created October 23, 2025 00:54
Show Gist options
  • Select an option

  • Save RH2/b7f94cc88a48d1ce9de40ff7fc9f09ec to your computer and use it in GitHub Desktop.

Select an option

Save RH2/b7f94cc88a48d1ce9de40ff7fc9f09ec to your computer and use it in GitHub Desktop.
strudel_ day 1
register('rlpf', (x,pat) => {return pat.lpf(pure(x).mul(12).pow(4))})
setGainCurve(x=>Math.pow(x,2))
setCpm(170/4)
$drums: stack(
s("bd:1").beat("0,7?,10",16).duck("3:4:5"),
s("sd:2").beat("4,12",16),
s("hh:4!4")
).orbit(2)
.gain(1.1)
._scope()
//$bass: s(" gm_synth_bass_2").note("<[20,28,20]!2 [20,40,32,20.5] [20,26,32]>".add(6)).arp("0 [0,2] 1 [0,2]")
$bass: s(" gm_synth_bass_2").note("<[20,28,20]!2 [20,40,32,60]>".add(6)).arp("0 [0,2] 1 [0,2]")
.distort(5)
.delay(0.1)
.gain(0.2)
._scope()
// $stab1: n(irand(8).add(-4).seg(8))
// .scale("f:major")
// .s("sawtooth")
// .hpf(100)
// .lpenv(2)
// .lpq(12)
// .orbit(10)
// .distort(2)
// ._scope()
// $stab2: n(irand(4).add(12).seg(4))
// .scale("f:major")
// .s("sin")
// //.lpf(200)
// .lpenv(2)
// .lpq(12)
// .orbit(10)
// .distort(3)
// .room(1.1)
// .decay(.03).sustain(0.1)
// ._scope()
$tremble: s('gm_tremolo_strings').chord("<E13sus _ A13sus _ C13sus _ G13sus _ >").voicing()
.attack(4)
.gain(1.0)
.room(4)
// .phaser(1)
// .phaserdepth(0.1)
.distort(1)
._scope()
$flutter: s('piano').chord("<E13sus _ A13sus _ C13sus _ G13sus _ >").voicing()
.attack(4)
.gain(1.0)
.room(4)
// .phaser(1)
// .phaserdepth(0.1)
.distort(1)
._scope()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment