«Fibonacci melody» by yl0506

on 04 May'13 16:58 in melody

Wow, the conciseness of SuperCollider is wonderful!

1
2
3
4
5
6
(
a=Array.fib(64,0,1);b=Array.fill(size:12,function:{arg i;a[i]%8});
p=1/8;Pdef(\x,Pbind(\dur,p,\degree,Pseq(b,1,0)));
r=Array.fill(12,{arg i;Pbindf(Pdef(\x),\mtranspose,b[i]);});
Pseq(r,(1/p)).play;
)
raw 206 chars (focus & ctrl+a+c to copy)
reception
comments