Open jreus opened 8 years ago
Ndefs seem also not to work when coding remotely on the Bela. The following code doesn't throw any errors, but produces no signal at either output.
s = Server.new('belaServer', NetAddr("192.168.7.2", 57110)); s.initTree; s.startAliveThread; Ndef(\sintone -> 'belaServer', { AnalogOutput.ar( DC.ar( 0 ), SinOsc.ar(440).range(0.0, 0.5) ); // output channel must be audio rate Out.ar( 0, SinOsc.ar(440) ); }).play;
Whereas the following works fine:
x = { AnalogOutput.ar( DC.ar( 0 ), SinOsc.ar(440).range(0.0, 0.5) ); Out.ar( 0, SinOsc.ar(440) ); }.play(target: s);
I think this is related to #18 A lot of communication back and forth happens behind the scenes in Ndef.
Ndefs seem also not to work when coding remotely on the Bela. The following code doesn't throw any errors, but produces no signal at either output.
Whereas the following works fine: