Files
notebook/strudel/20260306.md
2026-03-21 17:22:44 +09:00

1000 B
Executable File

await initHydra({feedStrudel:32})
src(s0)
  .repeat(0.1, 4)
  .modulateScale(osc(2, 0.1), () => H.fft[0] * 10) 
  .modulate(noise(0.1), 0.05) 
  .scrollX(.5, 0.2) 
  .out()
setcps(126/60/4)

$_: s("bd*4").gain(1.0).duck("2:3").orbit(1)
$_: s("white*16").dec(.07).hpf(1800).gain(1.0).pan(.8).orbit(3)

$_: note("c3(6,16,1), c4(10,16), c5(3,16)").s("pulse").pw("<.5 .1 .9>")
  .dec(.1).rel(.1).fm(8).fmh(1.6)
  .layer(
      x=>x.hpf(800).hpq(20).degradeBy(.65),
      x=>x.late(.1).crush(6).degradeBy(.85),
      x=>x.late(.2).dist(16).disttype(0).distvol(.1).degradeBy(.75),
  ).lpf(perlin.range(100,1200).slow(6))
  .delay(.5).room(.2).pan(sine.range(.4, .6).slow(4)).scope({scale:0.5,pos:.5}).orbit(2)
  
$_: note("c2*7").s("supersaw").detune(.2).att(.01).rel(.08)
  .lpf(berlin.range(100,160).slow(4)).lpq(10).ftype(1) 
  .gain(.7).orbit(3)

$: s("- cb - cb").bank("tr808") 
  .dist(8).disttype(4).distvol(.3)
  .hpf(1200).hpq(20) 
  .room(.3).roomsize(2) 
  .pan(.4)
  .orbit(3)