utilities related to hosc and hosc-json. to build type:
$ cd hs; make prefix=~/opt all install
hosc-json-cat reads JSON representations of OSC packets from
stdin, one per line, and forwards them in binary form to a UDP port (ie. scsynth).
$ echo '["/c_set",0,440]' | hosc-json-cat -h 127.0.0.1 -p 57110
hosc-json-cgi reads a JSON OSC packet at the query parameter
j and forwards over UDP.
hosc-json-console is a readline variant of
hosc-json-cat, supporting history and line editing etc. It reads JSON OSC packets from
stdin, one per line, and forwards them over UDP. (ie.
hosc-json-nrt reads an SC3 non-realtime score, which is a sequence of length prefixed OSC bundles, and prints the JSON representation of each element to
$ hosc-json-nrt ~/uc/see-hearer-clearer/osc/shc-C.osc | less
hosc-json-ws is a websocket server that forwards incoming JSON OSC packets at a specified
ws: port (
-w) to a UDP port (
-p). There are test sources (Chrome 11.0.696.57) at:
© rd, 2011–2013, gpl