-
Notifications
You must be signed in to change notification settings - Fork 0
QS1 send cmd
maybites edited this page Sep 12, 2022
·
1 revision
home/reference v1.x/<send>
<send>/address command arg1 arg2 {expr}</send>
<anim name="simpleRamp" duration="5s" fadeout="2s">
<track name="t1">0. 1.</track>
<send>/address ramp {t1}</send>
</anim>
<wait anim="simpleRamp"/>
Any List of Strings, numbers and {expr}
- None
- None
Like all messages, <send> 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:
send /address ramp 0.
(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 in order to separate it from the other messsages and then to pass the leftover ('/address ramp 0.') to a little javaScript:
inlets = 1;
function anything(){
messnamed(messagename, arrayfromargs(arguments));
}
where '/address' is interpreted as the reciever address for a Max receive-object.
(c) by Martin Froehlich maybites