admsyn / ofxAudioUnit

An openFrameworks addon which makes it easy to work with Audio Units on OSX and iOS
MIT License
120 stars 24 forks source link

get ofxAudioUnitNetSend / receive working #33

Open stephanschulz opened 6 years ago

stephanschulz commented 6 years ago

I was hoping you could show me how to setup net send and receive.

it seems only one app can run, the other gets blocked until the first exits.

do you know why?

sender

    netSend.setName("test9999");
    netSend.setPort(9999);
  speechSynth.connectTo(tap).connectTo(netSend);  
   activeUnit = &speechSynth;

receiver

  netReceive.connectToHost("127.0.0.1"); //,9999);
        netReceive.connectTo(tap).connectTo(output);
        activeUnit = &netReceive;