Receiving OSC in FoxDot

Hi! Can anyone give me some guidance about receiving OSC data in FoxDot?

What do you want to do with the OSC data? If it is triggering audio, then you might be better sending the OSC messages to SuperCollider, which is where the sound synthesis comes from. However, if you do want to receive OSC data in FoxDot then you will want to create an OSCServer object (found in OSC.py from pyOSC included in FoxDot) and then use the addMsgHandler() method to associate a message address with a function/object method, which will be called when the server receives a message with the specific address. I have a feeling you may need to use the ThreadingOSCServer but not sure. Hope that helps!

2 Likes

Hi!

I have found this nice tool for controling parameters of synthesizers in SuperCollider:

I would like to receive the OSC messages of airsynth directly from FoxDot, for doing the same thing with parameters of players. Is there an easy way for doing it?

Thanks in advance