( //PUT HERE THE NUMBER OF POLYPHONY VOICES var nbVoices = 16; // Synth array for voice allocation ~synths = Array.fill(nbVoices, { Synth(\rgbSynth) }); // Array to keep in memory active synths (i.e. active notes) ~activeNotes = Array.fill(nbVoices, { nil }); // Function to modify a parameter for all synths ~setSynthsParam = { |param, value| ~synths.do { |synth| synth.set(param, value); }; }; "Voice allocation arrays loaded".postln )