pyliblo 0.10 API Documentation¶
Homepage: http://das.nasophon.de/pyliblo/
The latest version of this manual can be found at http://dsacre.github.io/pyliblo/doc/.
For the most part, pyliblo is just a thin wrapper around liblo, which does all the real work. For questions not answered here, also see the liblo documentation and the OSC spec.
Module-level Functions¶
OSC Server Classes¶
Utility Classes¶
Mapping between OSC and Python data types¶
When constructing a message, pyliblo automatically converts
arguments to an appropriate OSC data type.
To explicitly specify the OSC data type to be transmitted, pass a
(typetag, data)
tuple instead. Some types can’t be unambiguously
recognized, so they can only be sent that way.
The mapping between OSC and Python data types is shown in the following table:
typetag |
OSC data type |
Python data type |
---|---|---|
|
int32 |
|
|
int64 |
|
|
float |
|
|
double |
|
|
char |
|
|
string |
|
|
symbol |
|
|
midi |
|
|
timetag |
|
|
true |
|
|
false |
|
|
nil |
|
|
infinitum |
|
|
blob |
|