-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
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"
Is this possible with go-osc?
I see there references to a 'OSC Type Tag String' in the code, but not sure if or how this can be used for pattern matching:
https://github.com/hypebeast/go-osc/blob/cec5a8a1e5f5/osc/osc.go#L220
https://github.com/hypebeast/go-osc/blob/cec5a8a1e5f5/osc/osc.go#L282
Liblo:
https://github.com/radarsat1/liblo/blob/master/examples/example_server.c
https://github.com/radarsat1/liblo/blob/master/lo/lo_types.h
Metadata
Metadata
Assignees
Labels
No labels