Engine
Provides access to Cantabile's engine object for start/stop control
Access this object via the engine property.
Table of Contents
- Methods
Methods
isStarted
()
Promise | Boolean
Returns a promise to provide the started state of Cantabile's audio engine.
This API is only available via AJAX, and not WebSocket
Returns:
Promise | Boolean
restart
()
Promise
Restarts Cantabile's audio engine
This API is only available via AJAX, and not WebSocket
Returns:
Promise
start
()
Promise
Starts Cantabile's audio engine
This API is only available via AJAX, and not WebSocket
Returns:
Promise
startStop
()
Promise
Toggles the audio engine between started and stopped
This API is only available via AJAX, and not WebSocket
Returns:
Promise
stop
()
Promise
Stops Cantabile's audio engine
This API is only available via AJAX, and not WebSocket
Returns:
Promise
Cantabile JavaScript API