// title: Fibonacci melody // author: yl0506 // description: // Wow, the conciseness of SuperCollider is wonderful! // code: ( 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; )