Actions
Actions run when an event is detected. Define them one line below the event.
Reference Table
| Action | Syntax | Arguments | Example | Remarks |
|---|---|---|---|---|
sendto |
sendto <DESTINATION> [<MESSAGE>] |
receiver name, message list | sendto delay [1] |
Host-specific delivery; see Platform Integrations. |
delay |
delay <VALUE> <UNIT> <ACTION> |
ms, sec, or tempo |
delay 1 tempo sendto echo [1] |
Schedules an action. tempo is performer beat-relative. |
luacall |
luacall(<FUNCTION_CALL>) |
Lua function call | luacall(cue("A")) |
Useful for small logic before sending. |
Example
-
Immediate action
NOTE C4 1 sendto freeze [1] -
Tempo-relative delay
NOTE D4 1 delay 1 tempo sendto granular [open] -
Absolute delay
NOTE E4 1 delay 500 ms sendto video [fade_in] -
Lua action
NOTE C4 1 luacall(cue("section A"))
Remarks
Use tempo delays for performer-relative timing and ms or sec for fixed technical timing. See also: Core Language Concepts, Lua, Platform Integrations.