some fun with #Henon chaotic generator.

(uncomment the line with Greyhole if you don't have sc3plugins)

(
// henonN synthdef FM to squarewave //

play({
var x = Pulse.ar(
HenonN.ar(
5000,
LFNoise2.kr(1,0.2,1.2),
LFNoise2.kr(1, 0.15, 0.15),
mul:0.6
).range(40, LFNoise2.kr(0.1).range(1000,10000)),
mul: 0.2).ring3(0.5).clip2(0.8);
x=LeakDC.ar(x).dup;
x= x+(Greyhole.ar(in:x, feedback:0.2, diff: 1, delayTime: 0.6) * 0.7);
})
)

#sctoot #SuperCollider #glitch #noise #chaos

Follow

@luka nice. Here's for ScalaCollider :)

play {
val h = HenonN.ar(5000,
LFNoise2.kr(1).mulAdd(0.20, 1.20),
LFNoise2.kr(1).mulAdd(0.15, 0.15),
)
val lo = 40
val hi = LFNoise2.kr(0.1).linLin(-1, 1, 1000,10000)
val f = (h * 0.6).linLin(-1, 1, lo, hi)
val p = (Pulse.ar(f) * 0.2).ring3(0.5).clip2(0.8)
val dry = LeakDC.ar(p)
val vrb = Greyhole.ar(dry, dry, feedback = 0.2, diff = 1, delayTime = 0.6)
dry + vrb * 0.7
}

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!