OSC communication between Augustus and X Fade

Official support for: expertsleepers.co.uk
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi OS,

I've been trying to send an OSC message from Augustus Loop to X Fade Loop to sync their delay times without having to use Live 7's messed up midi syncing.

I put this in my Augustus script:

Code: Select all

sendOSC( "osc.udp://127.0.0.1:7001", "/set", "if", {69, loopLength})
where "loopLength" is the delay time.

But I'm only getting errors:
com.ableton.live[3124] std::runtime_error in TaskMain(): unable to bind udp socket
Interestingly, in one of my earlier attempts without the format argument I got the following error:
com.ableton.live[3082] error while parsing message: /set: wrong argument type
This suggests to me that the message was received by X Fade Loop at one time. Or am I wrong?

By the way, it seems the Console in Snow Leopard doesn't always post message updates immediately anymore which is a major pita when trying to debug my scripts. I haven't found anything about that on the web. Do you know any solution?

Cheers,
Axel

Post

"com.ableton.live[3124] std::runtime_error in TaskMain(): unable to bind udp socket" indicates that you're trying to use the same port number for two different plug-ins.

Re. the console updates - I think I need to fix that at my end. Probably just a matter of flushing it somehow.

Post

you're trying to use the same port number for two different plug-ins.
Thank you. This was indeed what I was doing. Would be an obvious thing to check first, I guess :dog:

Now I'm getting no error messages anymore. My script reads the delay time correctly. Yet, X Fade still doesn't react to my message. At the moment, it's not that important to get this going but in the future, I'd like to have Reaktor talk to Augustus and X Fade via OSC and I need to get the hang of this. Is my message formatted correctly?

Post

It looks right. Maybe you should try sending a bogus /set message to get the "/set: wrong argument type" error again, to at least confirm you're sending to the right OSC port now.

Post

So, I tried some things:

First, I changed the OSC message so it wasn't well formatted which made Live crash!

Then I put in a parameter id of 399 which gave me the message:
error while parsing message: /set: parameter id out of range in set
So, great! X Fade is receives the message.

Meanwhile, I tried to get a ping back by sending a /ping to X Fade from Supercollider. But Supercollider didn't let me format the message in the way you suggest in the manual.

Code: Select all

b.sendMsg("/ping", osc.udp://127.0.0.1:57120);
doesn't work. I have to put the address in inverted commas. When I do that the message gets sent but now I get this error from X Fade:
error while parsing message: /ping: missing argument
Aaaargh!

------------- edit ------------------

I've now noticed there was indeed an argument missing. I added a return path and I don't get an error anymore but still no pingback from X Fade

------------- /edit -----------------

Oh, by the way, I also tried sending:

Code: Select all

sendOSC( "osc.udp://localhost:7001", "/set", "if", {40, 1.0})
and

Code: Select all

sendOSC( "osc.udp://localhost:7001", "/set", "if", {40, 0.0})
from Augustus which should make X Fade record. Again, no error, but also no recording.

I'm starting to get a little frustrated with this OSC thing.

Post Reply

Return to “Expert Sleepers”