Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending and receiving messages with the OSCClient node #9

Closed
chkworks opened this issue Apr 14, 2023 · 2 comments
Closed

Sending and receiving messages with the OSCClient node #9

chkworks opened this issue Apr 14, 2023 · 2 comments

Comments

@chkworks
Copy link

I am struggling with the current VL implementation of receiving and sending OSC messages on the same port, which Supercollider apparently does, according to this forum thread:
https://scsynth.org/t/reply-port-of-asychronous-commands/6494/2

We already had a discussion about it in the vvvvorum a while ago:
https://discourse.vvvv.org/t/start-supercollider-server-in-background/20532/12

I had a workaround set up, which I am about to document in here, so maybe this could lead to a proper implementation. Coming back to this soon...

@chkworks
Copy link
Author

So this is was solved the issue for me. I can not tell if it is a clean solution and would love to get some feedback if possible.

grafik
In the OSCClient class I created a new operation called GetMessages and connected the Receiver (Datagrams) from VL.CoreLib.IO and ToOSCMessages (Reactive) from VL.IO.OSC.

grafik
Afterwards I could call the method of the OSCClient class and use the OSCReceiver node to read the message.

@joreg joreg closed this as completed in 96fb5ef Apr 25, 2023
@joreg
Copy link
Member

joreg commented Apr 25, 2023

In https://www.nuget.org/packages/VL.IO.OSC/1.0.19 the OSCClient now has an optional "Data" output which you can connect to an OSCReceiver directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants