notebook/strudel/20250702.md
2025-07-09 16:38:53 +09:00

933 B

setcps(136/60/2) //cycles per second

//Probability
//$:note("c3@8 c4").slow(2).sound("supersaw").detune(2.5).gain(0.4).scope()
//$:note("[- c2 - c2 - [c3|c5] - c2]".slow(2))
$:note("[- c2 - c2 - [c2|c5] - c2]")
  .sound("supersaw")
  .lpf(perlin.range(400,800).slow(2))
  .lpq("[0|10]")
  .transpose("[0|0|1]")
  .gain(perlin.range(0.4,0.6).slow(2))

let snd = wchooseCycles(["bd",3], ["hh?",7], ["cr",1])
let snd2 = wchooseCycles(["ht",2], ["lt",1], ["sd",1])
$:stack(

 sound(snd).fast(8).decay(0.5),
 sound(snd2).fast(8).lpf("<900 800 700>").lpq("0 20 30")
//  .delay(1/8).room(0.2)  
 .degradeBy(0.5).gain(perlin.range(0.4,0.9).slow(2)),
 // sound("bd - bd -").gain("<1 1.2>".fast(3)),
 // sound("- - - cr?0.8").decay(0.5),  
 // sound("hh*8").degradeBy(0.2).gain(perlin.range(0.6,1.1).slow(2)),
  
).bank("RolandTR606")._punchcard()


$:sound("hh").struct(binaryN(irand(15),4))._punchcard()