I can’t get NRT on Windows to output any sound files. Basically .recordNRT doesn’t make the file. None of the help files do anything.
On mac, the helpfile code below posts:
nextOSCPacket 0.1
nextOSCPacket 0.2
nextOSCPacket 0.3
nextOSCPacket 1
nextOSCPacket 1
done
On PC it just says done, but no packets.
Is this normal? I’m on Parallels running Windows Arm. This could be the issue, but everything else works fine.
The same code works fine on Mac.
SC 3.14.0-dev on both Mac and Windows.
Thanks,
Sam
(
SynthDef("helpscore", { |out, freq = 440|
Out.ar(out,
SinOsc.ar(freq, 0, 0.2) * Line.kr(1, 0, 0.5, doneAction: Done.freeSelf)
)
}).store;
)
(
var f, o;
g = [
[0.1, [\s_new, \helpscore, 1000, 0, 0, \freq, 440]],
[0.2, [\s_new, \helpscore, 1001, 0, 0, \freq, 660],
[\s_new, \helpscore, 1002, 0, 0, \freq, 880]],
[0.3, [\s_new, \helpscore, 1003, 0, 0, \freq, 220]],
[1, [\c_set, 0, 0]] // finish
];
o = ServerOptions.new.numOutputBusChannels = 1; // mono output
Score.recordNRT(g, Platform.defaultTempDir ++ "help-oscFile", Platform.defaultTempDir +/+ "helpNRT.aiff", options: o, action:{"done".postln}); // synthesize
)