/* simple orc/score and tuning example this tuning is of a Central Javanese pelog gender (pelog bem) part of the Grinnell College gamelan, measured by Roger Vetter Tunings are entered as hz., a simple envelope is used This was originally used as a practice "tape" for a performance of a piece in which a clarinet player had to play in tune with the instrument lp */ ( e = Env.new([0,1,0.2,0],[0.004, 0.9, 0.5], -2); Synth.play({ OrcScore.ar( [{ arg spawn, i, synth, deltaTime, instrumentNum, note, amp; EnvGen.ar(e, FSinOsc.ar(note, amp)); }], #[ [1.0, 0, 146, 0.5], [1.0, 0, 156, 0.5], [1.0, 0, 170, 0.5], [1.0, 0, 217, 0.5], [1.0, 0, 231, 0.5], [1.0, 0, 294, 0.5], [1.0, 0, 318, 0.5], [1.0, 0, 340, 0.5], [1.0, 0, 439, 0.5], [1.0, 0, 466, 0.5], [1.0, 0, 587, 0.5], [1.0, 0, 631, 0.5], [1.0, 0, 689, 0.5] ], 1, nil, 40) }) )