Skip to content
New issue

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

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

Already on GitHub? # to your account

Retrieving OSC argument from Threading Server and sending it to a Client #141

Open
JackCrescent opened this issue May 28, 2021 · 1 comment

Comments

@JackCrescent
Copy link

JackCrescent commented May 28, 2021

I will begin by first explaining my project and what issues I am running to. I am trying to make a program where I can receive OSC information and send it to Pure Data (That part is working), in this program I also need to program some LEDs in my raspberry pi, and they need to respond to certain sliders from my OSC controller. My main issue was that I was working with a blocking server so it was difficult to bring that part of the code in, I tried threading, but being new to it, I sort of ran into confusion. Finally, I arrived at the Threading Server, which seems to be perfect, as it would most likely allow me to run this program with ease, but I run into issues trying to grab the Arguments of OSC addresses, due to being new to this library I don't know how to grab this information from the dispatcher or server and use it to send it through the client and "main", right now the project is based on the 2-way example in the docs. I would appreciate any guidance or help. Thank you very much for your time.

I am reading the code for OscMessage and its builder, and I feel that is the way to go, but run into some trouble when trying to implement it and use its arguments. any tips?

Extra Questions: Are there any functions that facilitate this?

@JackCrescent JackCrescent changed the title Grabbing OSC message and sending it via Client Accessing OSC argument from Server or Dispatcher and sending it to a Client Jun 1, 2021
@JackCrescent JackCrescent changed the title Accessing OSC argument from Server or Dispatcher and sending it to a Client Retrieving OSC argument from ThreadingServer and sending it to a Client Jun 1, 2021
@JackCrescent JackCrescent changed the title Retrieving OSC argument from ThreadingServer and sending it to a Client Retrieving OSC argument from Threading Server and sending it to a Client Jun 1, 2021
@high-solutions
Copy link

Just use the examples, understand them first and adjust them to what you need

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

No branches or pull requests

2 participants