notebook/strudel/complex bass.md
2025-12-02 10:31:56 +09:00

676 B

setcps(138/60/2)

samples('github:bubobubobubobubo/dough-waveforms')
$:sound("[sbd - sbd -]").dec(0.3).gain(0.2)

$:sound("[- hh hh hh]").dec(0.2).n(2).gain(0.2)
  .off(.25,x=>x.delay(1/2).dt(1/4).dfb(1/2))
  .degradeBy(1/4)

$:note("c2 c2 c2 c2".add(perlin.range(0.1,1.5).slow(9)))
  .sound("wt_hwwave")
  .fm(sine.range(1,2.5).slow(5)).fmh(1.1)
  .n(run(8).add(perlin.range(1,64).seg(64).slow(3))).dec(4/4)
  .lpf(perlin.range(60,1800).slow(7))
  .lastOf(2,x=>x.dist("4:0.1").disttype("fold"))
  .sometimesBy(8/16,x=>x
    .lpf("<300 500 700>".slow(3)).lpq("<0 5 10>".slow(2)))
  .sometimes(add(note(-2)))
  .gain(1)

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