GNU ELPA - osc

osc

Description
Open Sound Control protocol library
Latest
osc-0.1.el, 2014-May-24, 7.81kB
Home page
http://elpa.gnu.org/packages/osc.html
Browse repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET osc RET

Full description

OpenSound Control ("OSC") is a protocol for communication among
computers, sound synthesizers, and other multimedia devices that is
optimized for modern networking technology and has been used in many
application areas.

This package implements low-level functionality for OSC clients and servers.
In particular:
* `osc-make-client' and `osc-make-server' can be used to create process objects.
* `osc-send-message' encodes and sends OSC messages from a client process.
* `osc-server-set-handler' can be used to change handlers for particular
  OSC paths on a server process object on the fly.

BUGS/TODO:

* Timetags and binary blobs are not supported yet.

Usage:

Client: (setq my-client (osc-make-client "localhost" 7770))
        (osc-send-message my-client "/osc/path" 1.5 1.0 5 "done")
        (delete-process my-client)

Server: (setq my-server (osc-make-server "localhost" 7770
         (lambda (path &rest args)
           (message "OSC %s: %S" path args))))