-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
OSC support should be added to render
framework
#7
Comments
I'm not certain of the vectors-joined-with-slashes idea. More in-keeping with the way that other string processing things work would be to directly concatenate and explicitly include the slashes in the strings. This either means using quoted strings instead of symbols, or allowing slash to be a part of a symbol in the lexer (e.g., |
interact
frameworkrender
framework
Thinking again about OSC configuration. The terminology used in the OSC specification:
I am leaning towards grouping-up all OSC stuff into a single I'm also thinking that it might be a good idea to extend address out to also encompass the hostname and port to listen/send a message on/to. So an example might be:
and:
but perhaps also supporting:
|
The OSC stuff that's currently in there to support the separate Ableton Push process should be moved into the
render
package and turned into a general-purpose mechanism for interfacing the language with external things via OSC.The obvious thing to do is to support an OSC listener that can update the state. Maybe something like:
With whatever values are sent to the
/a/b/c
address being saved as a vector against the:abc
state key. This will obviously work fine for ints, floats, bools and strings. Could consider the idea of grouping up the address path into a node/vector hierarchy, like:This may be unnecessarily wordy though. There's probably no harm in it and in allowing addresses to be vectors that get joined using
/
characters.Trickier is figuring out how to send OSC values. Perhaps something like:
This should presumably keep a cache of the last sent addresses/values and only send changes, with perhaps some kind of (per-endpoint) confgurable timeout to resend the current value if it doesn't change.
The text was updated successfully, but these errors were encountered: