[Clam-devel] [Patch] A Python script to send OSC control in realtime

Han, Yushen yushen.han at gmail.com
Sun Aug 17 13:42:38 PDT 2008


Hi, Natanael and Pau

Natanael made it possible to have variable number of arguments in OSC in NE.

To follow up this improvement, here is a Python script that I am using
to send OSC store in a score in realtime.
It may be useful for a realtime simulation of an OSC instrument.

It reads OSC score from a txt file, each line of which has n arguments(columns).
The score will be sent to a OSC source with target and port specified
by the user.

It could run interactively or be executed from command line.
The syntax is: SendOSCFromScoreToPort.py  [.txt score file] [target]
[port] [# of arguments in the score file]

The patch will be applied to /CLAM/plugins/osc/oscpython

Best regards,
Han, Yushen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PythonScriptForSendingOSCInRealTime.patch
Type: application/octet-stream
Size: 6723 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080817/56bfec4a/attachment-0004.obj>


More information about the clam-devel mailing list