Right, found the code I used:
s = Server.default;
s.options.numAnalogInChannels = 2; // can only be 2, 4 or 8
s.options.numAnalogOutChannels = 2;
s.options.numDigitalChannels = 0;
s.options.maxLogins = 16; // set max number of clients
s.options.blockSize = 16;
s.options.numInputBusChannels = 2;
s.options.numOutputBusChannels = 2;
s.waitForBoot{
"Server Booted".postln;
(
SynthDef("osc-test",{ arg out=0, freq = 440, amp = 0.001;
Out.ar(out, ({SinOsc.ar(freq, mul: amp)}.dup(370)).sum)
}).send(s);
);
s.sync;
Synth.new("osc-test", target: s);
};
This still seems to work and - as I understand - it generates 370 sinewaves. I guess the difference between this and your example is that in this case all the oscillators live in a single synth. Maybe SC can make this more efficiently than having hundreds of instances of synths, though I understand this is less flexible.
ErikNatanael 150 synths works, but makes the system completely unresponsive (I had to do a hard reset)
Actually if the board hangs because of excessive audio load, you can press the button on the cape to stop the audio and re-gain control of the board