Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: polynom
name
code content
( var genPolynom = { arg depart ... l; var function = "{arg x; %% }".format( depart, l.collect({ arg v, i; " + (% * ( x div: % ))".format(v, i + 1) }).join ); function.compile().value; }; var un = genPolynom.(0, 1); var deux = genPolynom.(2, 4, 1); var trois = genPolynom.(5, 5, -1); a = (..20).collect({ arg i; [un.(i), trois.(i) ] % 7 }) ) ( Pdef(\a, Pbind( \tempo, 2, \degree, Pseq(a).repeat, \octave, [3, 5], \amp, [2, 1] * 0.1, )).play )
code description
use markdown for formating
category tags
comma separated, i.g. "wild, siren" (do not enter default SC class names, please)
ancestor(s)
comma separated identificators, i.g. "1-C,1-1,1-4M,1-x"
Private?
the code will be accessible by direct url and not visible in public activity
signup to submit public code without captcha
comment of change