2015-08-25 19:59:32 +00:00
|
|
|
(defpackage :osc
|
2022-09-29 08:37:26 +00:00
|
|
|
(:use :cl)
|
2022-09-29 08:02:59 +00:00
|
|
|
(:documentation "OSC, the 'Open Sound Control' protocol.")
|
2015-08-25 19:59:32 +00:00
|
|
|
(:export
|
|
|
|
#:make-message
|
|
|
|
#:message
|
|
|
|
#:make-bundle
|
|
|
|
#:bundle
|
|
|
|
#:format-osc-data
|
|
|
|
#:command
|
|
|
|
#:args
|
|
|
|
#:timetag
|
|
|
|
#:elements
|
|
|
|
#:encode-message
|
|
|
|
#:encode-bundle
|
|
|
|
#:decode-message
|
|
|
|
#:decode-bundle
|
|
|
|
#:make-osc-tree
|
|
|
|
#:dp-register
|
|
|
|
#:dp-remove
|
|
|
|
#:dp-match
|
|
|
|
#:dispatch
|
|
|
|
|
|
|
|
#:get-current-timetag ; osc-time
|
|
|
|
#:timetag+
|
|
|
|
#:get-unix-time
|
|
|
|
#:unix-time->timetag
|
|
|
|
#:timetag->unix-time
|
|
|
|
#:print-as-double
|
|
|
|
|
|
|
|
#:osc-transmitter ; osc-devices
|
|
|
|
#:osc-transmitter-udp
|
|
|
|
#:osc-client
|
|
|
|
#:osc-client-udp
|
|
|
|
#:osc-client-tcp
|
|
|
|
#:osc-server
|
|
|
|
#:osc-server-udp
|
|
|
|
#:osc-server-tcp
|
|
|
|
#:protocol
|
|
|
|
#:name
|
|
|
|
#:buffer-size
|
|
|
|
#:quit
|
|
|
|
#:osc-device-cleanup
|
|
|
|
#:make-listening-thread ; listening
|
|
|
|
#:add-osc-responder ; dispatching
|
|
|
|
#:remove-osc-responder
|
|
|
|
#:make-osc-transmitter ; transmitters
|
|
|
|
#:connect
|
|
|
|
#:send
|
|
|
|
#:send-msg
|
|
|
|
#:send-bundle
|
|
|
|
#:send-to
|
|
|
|
#:send-msg-to
|
|
|
|
#:send-bundle-to
|
|
|
|
#:send-all
|
|
|
|
#:send-msg-all
|
|
|
|
#:send-bundle-all
|
|
|
|
#:make-osc-client ; clients
|
|
|
|
#:make-client-responders
|
|
|
|
#:register
|
|
|
|
#:make-osc-server ; servers
|
|
|
|
#:boot
|
|
|
|
#:make-server-responders
|
|
|
|
#:register-udp-client
|
|
|
|
#:unregister-udp-client
|
|
|
|
#:register-tcp-client
|
|
|
|
#:unregister-tcp-client
|
|
|
|
#:post-register-hook
|
|
|
|
#:get-tcp-client
|
|
|
|
#:print-clients
|
|
|
|
#:send-to-client
|
|
|
|
#:send-bundle-to-client
|
|
|
|
#:*default-osc-buffer-size* ; sockets
|
|
|
|
#:make-name-string
|
|
|
|
#:device-active-p
|
|
|
|
#:device-socket-name
|
|
|
|
#:address
|
|
|
|
#:port
|
|
|
|
#:peer-address
|
|
|
|
#:peer-port))
|