Thank you Tito. Orm ended up helping me out with this, so no worries.

On 4/5/21 12:11 PM, Tito Latini wrote:
On Mon, Apr 05, 2021 at 10:31:24AM -0400, Brandon Hale wrote:
I just got around to trying this out, and man, this is awesome! Being able
to trigger common music events with the incudine responder is excellent.

For the responders, you would have to create a new responder for each event
you would want for different osc messages, right?
Yes with MAKE-OSC-RESPONDER. The expansion is

(macroexpand-1 '(make-osc-responder *oscin* "/osc/test" "iii"
                  (lambda (a b c)
                    (msg warn "~D ~D ~D" a b c))))
;; (MAKE-RESPONDER *OSCIN*
;;                 (LAMBDA (#:S582)
;;                   (WHEN (INCUDINE.OSC:CHECK-PATTERN #:S582 "/osc/test" "iii")
;;                     (INCUDINE.OSC:WITH-VALUES (A B C)
;;                         (#:S582 "iii")
;;                       (MSG WARN "~D ~D ~D" A B C)))
;;                   (VALUES)))

therefore it is also possible a single responder.

There is a tutorial about OSC in

     /path/to/incudine/doc/tutorials/osc_messages.cudo   (lisp file)
     /path/to/incudine/doc/html/tutorial_osc.html        (html file)
     http://incudine.sourceforge.net/tutorial_osc.html   (web)

I could add another example if something is not clear.
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to