notebook/strudel/20250711.md
2025-07-11 22:36:43 +09:00

1.4 KiB

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

// $_:sound("mydrum:0").struct("1 0 1 0")
//   .decay(0.5)
//   .gain(0.4)
// $:sound("mydrum:1").struct("1 1 1 1")
// $_:sound("mydrum:2").struct(" 0 1 0 1")
//   .decay(0.3)
// $_:sound("mydrum:3").struct("0 0 0 1")

// $_:sound("mysynth:0").struct("0 0 1@2 0").slow(2)
// $_:sound("mysynth:1").struct("1 0 0 0").slow(2)
// $_:sound("mysynth:2").struct("0 1*4 0 0").decay(0.3).gain(0.5).slow(2)
// $_:sound("mysynth:3").slow(4).fit()
// $_:sound("mysynth:3").loopAt(8).chop(8).gain(0.5)._punchcard()
samples({
mybd: 'sample/GlexDataSimulationAlt1.wav',
}, 'https://raw.githubusercontent.com/masat0ooo/strudel/main/');

$:s("mybd").gain(0.5)

// samples({
// bassdrum: 'bd/BT0AADA.wav',
// hihat: 'hh27/000_hh27closedhh.wav',
// snaredrum: ['sd/rytm-01-classic.wav', 'sd/rytm-00-hard.wav'],
// }, 'https://raw.githubusercontent.com/tidalcycles/Dirt-Samples/master/');

// $:s("bassdrum snaredrum:0 bassdrum snaredrum:1, hihat*16")

  
// $_:sound("mysynth:3").slice(8,"6 [0|2] 1 [3|7|1] <5 0> 3 <1 - 6> 2")
//   .gain(0.5).slow(4)
//   .sometimes(x=>x.rev())

// $_:sound("mysynth:3").splice(8,"6 [0|2] 1 [3|7|1] <5 0> 3@4 <1 - 6> 2")
//   .gain(0.5).slow(16)
//   .sometimes(x=>x.rev())
//   //.loopAt(4)

// $_:note("c3 c3 c4 c3").slow(2).layer(
//   x=>x.sound("sin:32:1"),
//   x=>x.sound("sqr:0:1"),
//   x=>x.sound("saw:32:1"),
// )._scope()




//  .fast(perlin.range(1,2))