Send an OSC message to a specific host and port
osc_send hostname (string), port (number), path (osc_path), args (list)
Similar to osc
except ignores any use_osc
settings and sends the OSC message directly to the specified hostname
and port
.
See osc
for more information.
Introduced in v3.0
Examples
# Example 1 |
osc_send "localhost", 7000, "/foo/baz"
|
# Send an OSC message to port 7000 on the same machine
|
# Example 2 |
use_osc "localhost", 7010
osc "/foo/baz"
osc_send "localhost", 7000, "/foo/baz"
|
# set hostname and port
# Send an OSC message to port 7010
# Send an OSC message to port 7000
# (ignores use_osc settings)
|