{
   "labels" : [
      "melody"
   ],
   "id" : "1-5bI",
   "is_private" : null,
   "code" : "(\r\nvar genPolynom = { arg depart ... l;\r\n\tvar function = \r\n\t\"{arg x; %% }\".format(\r\n\t\tdepart,\r\n\t\tl.collect({ arg v, i;\r\n\t\t  \" + (% * ( x div: % ))\".format(v, i + 1)\r\n\t    }).join\r\n\t);\r\n\tfunction.compile().value;\r\n};\r\n\r\nvar un = genPolynom.(0, 1);\r\nvar deux = genPolynom.(2, 4, 1);\r\nvar trois = genPolynom.(5, 5, -1);\r\n\r\na = (..20).collect({ arg i;\r\n\t[un.(i), trois.(i) ] % 7\r\n})\r\n)\r\n\r\n(\r\nPdef(\\a, \r\nPbind(\r\n\t\\tempo, 2,\r\n\t\\degree, Pseq(a).repeat,\r\n\t\t\\octave, [3, 5],\r\n\t\t\\amp, [2, 1] * 0.1,\r\n\t\t)).play\r\n)",
   "author" : "scornaz",
   "name" : "polynom",
   "description" : "",
   "ancestor_list" : []
}
