Send Open Sound Control (OSC) Messages
Sends a Open Sound Control (OSC) message through a UDP connection
oscsend(u,path)
oscsend(u,path,types,arg1,arg2,...)
oscsedn(u,path,types,[args])
u = UDP object with open connection.
path = path-string
types = string with types of arguments,
supported:
i = integer
f = float
s = string
N = Null (ignores corresponding argument)
I = Impulse (ignores corresponding argument)
T = True (ignores corresponding argument)
F = False (ignores corresponding argument)
B = boolean (not official: converts argument to T/F in the type)
not supported:
b = blob
args = arguments as specified by types.
EXAMPLE
u = udp('127.0.0.1',7488);
fopen(u);
oscsend(u,'/test','ifsINBTF', 1, 3.14, 'hello',[],[],false,[],[]);
fclose(u);
See http://opensoundcontrol.org/ for more information about OSC.
Cita come
Mark (2025). Send Open Sound Control (OSC) Messages (https://it.mathworks.com/matlabcentral/fileexchange/31400-send-open-sound-control-osc-messages), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
