You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the examples there is a method with the OSC type "i[ff]i"
I'm not sure if that describes a type that has 1 int followed by a fixed sized array of 2 floats followed by an int, or if that array (or maybe list is a better term) should be resizable? What would the type signature look like if the data last set there was an empty list?
AFAIK there is no way to indicate that I want a list of a specific type, or of one or more types or of any type. Also, can this list have a size limit (lower and or upper)? It feels like using the OSC type system for this doesn't quite work because it describes data that exists, not data that could exist.
I could see the following alteration to type strings:
[f] a resizable list of floats
[fi] a resizable list of ints and/or floats
[*] a resizable list of any OSC type.
I'm less sure about specifying length... Some thoughts:
[2*] a list of length 2, any OSC type.
[0f2] a list of length 0..2, floats`
Thoughts? Maybe I'm missing something in the doc that specifies these types of details?
The text was updated successfully, but these errors were encountered:
In the examples there is a method with the OSC type
"i[ff]i"
I'm not sure if that describes a type that has 1 int followed by a fixed sized array of 2 floats followed by an int, or if that array (or maybe list is a better term) should be resizable? What would the type signature look like if the data last set there was an empty list?
AFAIK there is no way to indicate that I want a list of a specific type, or of one or more types or of any type. Also, can this list have a size limit (lower and or upper)? It feels like using the OSC type system for this doesn't quite work because it describes data that exists, not data that could exist.
I could see the following alteration to type strings:
[f]
a resizable list of floats[fi]
a resizable list of ints and/or floats[*]
a resizable list of any OSC type.I'm less sure about specifying length... Some thoughts:
[2*]
a list of length 2, any OSC type.[0f2]
a list of length 0..2, floats`Thoughts? Maybe I'm missing something in the doc that specifies these types of details?
The text was updated successfully, but these errors were encountered: