-
Notifications
You must be signed in to change notification settings - Fork 0
QS1 osc cmd
maybites edited this page Sep 12, 2022
·
1 revision
home/reference v1.x/<osc>
<osc sendto="(string)">/address/pattern command arg1 arg2 {expr}</osc>
<anim name="simpleRamp" duration="5s" fadeout="2s">
<track name="t1">0. 1.</track>
<osc>/address/pattern ramp {t1}</osc>
</anim>
<osc sendto="master">/animation/pattern executed</osc>
<wait anim="simpleRamp"/>
Any List of Strings, numbers and {expr}
- sendto = if specified, it will add the sendto string to the output list (see below). if not specified, the sendto string will be 'default'
- None
Like all messages, <osc> will create a Max-message that exits at the left outlet of the QueScript Max-object. With the above example it would be a list that looks like this:
osc default /address/pattern ramp 0.
osc master /animation/pattern executed
(if the above animation has just started).
It is up to the implementing programmer to decide what to do with it. It is intended to send it to a 'route' - object to separate the 'osc' from the other messages and then to pass it to a second 'route' to send via UDP it to different servers/ports, where '/address/pattern' is interpreted as the osc address-pattern.
(c) by Martin Froehlich maybites