Detecting an OSC message with no arguments
Hello,
I'm having a small issue that I think has a simple solution, but I can't seem to figure it out.
How can I distinguish an OSC message with an argument (say, /foo 28) from one without an argument (/foo)?
When I place a [Print] object as the output of an [OSC-route /foo] object and send a “/foo” message, I see it appear in the console with nothing—which means the OSC.route object is indeed returning something—but I can’t seem to find that “something” in the patch. It doesn’t appear to be a bang or anything else.
Thanks in advance for your help.
do not use OSC-route but print whole osc message.
or use route which will give you "bang" if nothing follows osc string

for longer OSC strings like /aaa/bbb/ccc nn use regexp to strip slashes and then route
more flexible
Great! Super simple indeed. Thanks for your quick reply!