Skip to content

Ndef not functional remotely #19

@jreus

Description

@jreus

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions