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

match osc message based on address and types #12

Open
avlapp opened this issue Sep 22, 2022 · 0 comments
Open

match osc message based on address and types #12

avlapp opened this issue Sep 22, 2022 · 0 comments

Comments

@avlapp
Copy link

avlapp commented Sep 22, 2022

In the liblo c/c++ osc library, one can specify a method which matches a osc message based on address and types:

/* add method that will match the path /foo/bar, with two numbers, coerced

  • to float and int */
    lo_server_thread_add_method(st, "/foo/bar", "fi", foo_handler, NULL);

So "/error", "sis" matches a other message then "/error", "f"

As far as I can see this is not possible in scgolang/ocs

Liblo:

https://github.com/radarsat1/liblo/blob/master/examples/example_server.c
https://github.com/radarsat1/liblo/blob/master/lo/lo_types.h

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

1 participant