Skip to main content

Can I use spaces within OSC methods?

Within the OSC specification, spaces are not permitted in OSC methods or containers.

Some developers ignore this in their implementation and permit spaces to be sent. This can be a hit and miss approach where some software accepts it and some doesn’t. At ON LX, we recommend you avoid it.

Ctrl Suite & Ctrl for iPad processes spaces as methods of declaring an OSC argument where Ctrl Suite automatically defines the argument type.

For example:

To send a float with level of 0.5 you could define: /my_command/level 0.5

To send multiple floats you could define: /my_commands/ 0.5 0.1 0.2

To send a string you could define: /my_string string