/* simple orc/score and tuning example Put in ratios for a just scale of your choice, and set the fundamental lp */ ( var fund = 440; e = Env.new([0,0.9,0.2,0],[0.004, 0.9, 0.5], -2); Synth.play({ OrcScore.ar( [{ arg spawn, i, synth, deltaTime, instrumentNum, num, denom, amp; EnvGen.ar(e, FSinOsc.ar( num * fund/denom , amp)); }], #[ [0.5, 0, 1, 1, 0.6], [0.3, 0, 9, 8, 0.5], [0.3, 0, 5, 4, 0.5], [0.3, 0, 4, 3, 0.5], [0.4, 0, 3, 2, 0.5], [0.3, 0, 27, 16, 0.5], [0.3, 0, 15, 8, 0.5], [0.6, 0, 2, 1, 0.5] ], 1, nil, 40) }) )