notebook/strudel/20251209.md
2025-12-09 16:24:36 +09:00

1.1 KiB

setcps(138/60/2)

$:sound("sbd sbd? sbd sbd?").dec(0.4)
  .sometimesBy(0.37,x=>x.ply("2|4")).gain(sine.range(0.1,0.3).slow(7))
$:sound("<0 1 0 2 0 0 1 2>"
        .pick(["- hh white hh",
               "hh - white hh",
               "- hh white white",
              ])
        .off(1/8,x=>x.gain(1/8))
       )
  .dec(0.1).degradeBy(1/7)
  .sometimes(x=>x.ply(2)).gain(1/3)

$_:note("[c1 c1 c1 c1]").sound("supersaw").fm(3.1).dec(1/1)
  .fmh(sine.range(2.1,2.7).slow(3)).dist("4:0.1").lpf(1800).gain(0.5)
$:note("[c1 c1 c1 c1]").sound("pulse")
  .pw(sine.range(1/8,1).slow(3)).pwrate(2/3).pwsweep(3/4).dec(1/1)
  .dist("4:0.1").lpf(1800).gain(0.5)
$_:note("c2 c2 c2 c2".add(perlin.range(0,1).slow(3))).sound("pulse").pw(1/8).degradeBy(0.3)
  .when("<0 1 0 1 1 0 1 1>",x=>x.dec(1/2)).lpf("100|200").dist("4:0.1")

$:note("e3 f3 g3 a3".fast(2)).sound("sine").fm(2).fmh(1.3)
  .att(1/4).dec(1/4).sus(1/8).rel(1/8)
  .degradeBy(95/100)
  .off(1/16,x=>x.delay(1/2).dt(7/8).dfb(2/3))
  .lpf(perlin.range(100,1200).slow(3)).ftype(2)
  .gain(0.3)
  .room("<2 1>").roomsize("<2 1 2 1>").pan(rand.slow(3)).orbit(2)



all(x=>x.postgain(1).scope({pos:0.8}))