From 0bc4319b02fa3cf573cb6e96146636392503052c Mon Sep 17 00:00:00 2001 From: littleisland <> Date: Sat, 30 Aug 2025 19:02:34 +0900 Subject: [PATCH] create/update 'Slow sine.md' file --- strudel/{20250812.md => Slow sine.md} | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) rename strudel/{20250812.md => Slow sine.md} (72%) diff --git a/strudel/20250812.md b/strudel/Slow sine.md similarity index 72% rename from strudel/20250812.md rename to strudel/Slow sine.md index 1f66b8a..234d894 100644 --- a/strudel/20250812.md +++ b/strudel/Slow sine.md @@ -83,4 +83,40 @@ $:base.postgain(0.2).fast(4).decay(2).lpenv(2) $:base.postgain(0.2).fast(1).decay(1) .lpf(perlin.range(100,800).fast(7)).lpq(20).phaser(2) all(x=>x._scope() +``` +```javascript +setcps(60/60/4) + +const base = stack( + stack( + note("").sound("saw"), + note("").sound("saw").gain(0.5), + note("").sound("saw").gain(0.25), + note("").sound("saw").gain(0.15) + ).pan(sine.range(-0.4, 0.4).slow(8)), + note("<[e5 c5] [c5 g5] [g5 d5] [d5 a5]>") + .sometimes(x=>x.rev()) + .fast(1.5).sound("sqr") + .late("<1 1.25 0.75 1.125>") + .early("<0 0.05 -0.05 0.02>") + .gain(perlin.range(0.15,0.5).slow(4)).pan("-0.8|0.8") +) + +$:base + .transpose("<0 2 7 5 12 0>".slow(2)) + .lpf(tri.range(300,400)).lpq(10) + .sometimesBy(0.4,x=>x.mask("0")) +$:base.slow(2) + .lpf(600).lpq(10).phaser(1.2).ply(4) + .hpf(sine.range(80,120).slow(16)) + .sometimesBy(0.2,x=>x.mask("0")) +$:base.fast(1.5) + .lpf(sine.range(200,300).slow(2)).lpq(15) + .sometimesBy(0.3,x=>x.mask("0")) +$:base.fast(4) + .lpf(perlin.range(300,400).fast(16)).lpq(15) + .sometimesBy(0.3,x=>x.mask("0")) + +all(x=>x.room(1/4).dist(0.05).postgain(1/4)) + ``` \ No newline at end of file