Open Sound Control is a simple network protocol used for connecting musical instruments and multimedia stuffs. This protocol can be used from tiny things like Arduino to fancy interface like iPad.
Python provides a simple library, pyOSC, but no debug tools.
virtualenv .
source bin/activate
python setup.py build
python setup.py install
Message are sent via UDP, no error is return if you talk to the wrong server.
osc_client -h
- --host The target host.
- --port The target port.
- --target The target path. The url like stuffs.
- --message The message. It should be JSON encoded.
This server is simple, it just print received messages.
osc_server_dump
- --host The target host.
- --port The target port.
- --target The target path. The url like stuffs.
In a first terminal
osc_server_dump -t /1/toto
In a second terminal
osc_client -t /1/toto -m 42
GPLv3.