NRT issue: Found 0 LADSPA plugins, UGen 'FoaRotate' not installed

Hi there!

I was trying to get into NRT and tried to run some examples found in the Non-Realtime Synthesis (NRT) helpfile.
https://doc.sccode.org/Guides/Non-Realtime-Synthesis.html

so I run the following code :
(
var server = Server(\nrt,
options: ServerOptions.new
.numOutputBusChannels_(2)
.numInputBusChannels_(2)
);

a = Score([
[0.0, [’/d_recv’,
SynthDef(\NRTsine, { |out, freq = 440|
Out.ar(out, SinOsc.ar(freq, 0, 0.2).dup)
}).asBytes
]],
[0.0, (x = Synth.basicNew(\NRTsine, server, 1000)).newMsg(args: [freq: 400])],
[1.0, x.freeMsg]
]);

a.recordNRT(
outputFilePath: “~/nrt-help.wav”.standardizePath,
headerFormat: “wav”,
sampleFormat: “int16”,
options: server.options,
duration: 1,
action: { “done”.postln }
);

server.remove;
)

and I get the following

-> nrt
Found 0 LADSPA plugins
exception in GraphDef_Load: UGen ‘FoaRotate’ not installed.
while reading file: '/Users/XXX/Library/Application Support/SuperCollider/synthdefs/u_immlib_binaural.scsyndef’start time 0
nextOSCPacket 0
nextOSCPacket 0
nextOSCPacket 0
nextOSCPacket 0
nextOSCPacket 0.0208218
nextOSCPacket 0.0752156
nextOSCPacket 0.106163
nextOSCPacket 0.268262
nextOSCPacket 0.347864
nextOSCPacket 0.59125
nextOSCPacket 0.64762
nextOSCPacket 0.698387
nextOSCPacket 0.767855
nextOSCPacket 0.805795
nextOSCPacket 0.856903
nextOSCPacket 1.06207
nextOSCPacket 1.10737
nextOSCPacket 1.17587
nextOSCPacket 1.2011
nextOSCPacket 1.37694
nextOSCPacket 1.55366
nextOSCPacket 1.68127
nextOSCPacket 1.79395
nextOSCPacket 1.94814
nextOSCPacket 2.07091
nextOSCPacket 2.09369
nextOSCPacket 2.12109
nextOSCPacket 2.19524
nextOSCPacket 2.22158
nextOSCPacket 2.31564
nextOSCPacket 2.47181
nextOSCPacket 2.52979
nextOSCPacket 2.65611
nextOSCPacket 2.70827
nextOSCPacket 2.81463
nextOSCPacket 2.84629
nextOSCPacket 3.01651
nextOSCPacket 3.25639
nextOSCPacket 3.32595
nextOSCPacket 3.52501
nextOSCPacket 3.66102
nextOSCPacket 3.69529
nextOSCPacket 3.74158
nextOSCPacket 3.80941
nextOSCPacket 3.86972
nextOSCPacket 3.89516
nextOSCPacket 4.13858
nextOSCPacket 4.30477
nextOSCPacket 4.46963
nextOSCPacket 4.5505
nextOSCPacket 4.59629
nextOSCPacket 4.63666
nextOSCPacket 4.71355
nextOSCPacket 4.88229
nextOSCPacket 4.93132
nextOSCPacket 4.96927
nextOSCPacket 5.03456
nextOSCPacket 5.06346
nextOSCPacket 5.1149
nextOSCPacket 5.17171
nextOSCPacket 5.19588
nextOSCPacket 5.36582
nextOSCPacket 5.40624
nextOSCPacket 5.54537
nextOSCPacket 5.56768
nextOSCPacket 5.60149
nextOSCPacket 5.80134
nextOSCPacket 5.89568
nextOSCPacket 5.92731
nextOSCPacket 5.95336
nextOSCPacket 5.99255
nextOSCPacket 6.06399
nextOSCPacket 6.14999
nextOSCPacket 6.19116
nextOSCPacket 6.37978
nextOSCPacket 6.4209
nextOSCPacket 6.45166
nextOSCPacket 6.50575
nextOSCPacket 6.52791
nextOSCPacket 6.72163
nextOSCPacket 6.77412
nextOSCPacket 6.80755
nextOSCPacket 6.84764
nextOSCPacket 6.95531
nextOSCPacket 6.97971
nextOSCPacket 7.03319
nextOSCPacket 7.0688
nextOSCPacket 7.15392
nextOSCPacket 7.33641
nextOSCPacket 7.46708
nextOSCPacket 7.51704
nextOSCPacket 7.53917
nextOSCPacket 7.56742
nextOSCPacket 7.68719
nextOSCPacket 7.76465
nextOSCPacket 8.0025
nextOSCPacket 8.20307
nextOSCPacket 8.29043
nextOSCPacket 8.36813
nextOSCPacket 8.54933
nextOSCPacket 8.72833
nextOSCPacket 8.902
nextOSCPacket 9.12171
nextOSCPacket 10.1217
RESULT = 0

the thing is I have the ladspa Ugens and have also the atk library that has FoaRotate. Does anyone know why this is happening?

thank you!!

FoaRotate is part of sc3-plugins, not the atk quark, do you have sc3-plugins installed?
I don’t know about ladspa ugens though…

Marcin

Always printed when the server starts.

“0” here is referring to LADSPA plugins that would be used in a DAW such as Ardour. It isn’t referring to SC UGens. So the fact that you have the LADSPA UGen is relevant to this message in that the LADSPA UGen prints the message – but the number of plugins found is a matter of installing components outside of SC.

And if you’re not using LADSPA.ar anywhere, then it doesn’t matter how many are found or not found.

Seems that some extension has created a SynthDef file that is now being loaded. If you aren’t using that SynthDef, then any errors loading it will not affect the result (i.e. irrelevant).

If your output file is fine, then there’s no need to be concerned about either of these messages.

hjh

Thank you for your answer. Things are much clearer now!

yes, sc3-plugins are installed. FoaRotate is in the extensions folder…