Exposes some properties of the score over WebSockets:
- Viewing and controlling triggers.
- Sending & receiving messages through the Device Explorer.
- Executing JS code in the console.
WebSocket API description
The message format is JSON.
Score -> client
When a trigger starts executing:
When a trigger has finished executing:
When an interval starts executing:
When an interval has finished executing:
Client -> score
See the Console API for the allowed operations.
To trigger a trigger:
To slow down or speed up an interval:
To send a control message:
or, to showcase all possible types:
To enable / disable listening
Listening to an address means that when an address’s value changes, the
new value is forwarded to the remote client.
See Control surface.