You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
799 B
Plaintext
29 lines
799 B
Plaintext
// what can it sound like? see: https://www.youtube.com/watch?v=dRmY3tEwZyE
|
|
// the youtube version has been sent through an additional reverb pedal, but
|
|
// you don't need the pedal to get something that sounds interesting
|
|
|
|
(
|
|
s.options.memSize_(16384*10);
|
|
s.reboot;
|
|
s.waitForBoot({
|
|
|
|
Ndef(\bits, {
|
|
var t = PulseCount.ar(Impulse.ar(8e3));
|
|
var u = PulseCount.ar(Impulse.ar(7009));
|
|
var sig = HPF.ar(
|
|
(
|
|
((t * 15) & (t >> 5)) |
|
|
((t * 5) & (t >> [3, 4])) |
|
|
((t * 2) & (t >> 9)) |
|
|
((t * 8) & (t >> 11)) |
|
|
(((t*t) & t) | (t >> 3))
|
|
- 3 % 256
|
|
) / 127-1 * 3
|
|
, 20
|
|
) * 0.1;
|
|
var sig2 = LPF.ar(HPF.ar(gcd(t*u, u+t), WhiteNoise.ar()*2000 + 1000), 20);
|
|
sig2 = sig2*sig;
|
|
sig = 0.3*Splay.ar(Limiter.ar(Greyhole.ar(sig + sig2, sig, 0.5, sig), 0.5).flatten);
|
|
}).play;
|
|
});
|
|
) |