// title: Another fibonaccy melody // author: yl0506 // description: // Wow ! the conciseness of SuperCollider is wonderful ! // We can make many attractive melodies ! // code: ( c=13;a=Array.fib(64,0,1);b=Array.fill(size:c,function:{arg i;a[i]%12}); p=1/(21-c);Pdef(\x,Pbind(\dur,p,\degree,Pseq(b,1,0))); r=Array.fill(c,{arg i;Pbindf(Pdef(\x),\mtranspose,1-b[i]);}); Pseq(r,(1/p)).play; )