Skip to main content

Engine

Superclass for engines.


Configuration​

graph​

Type: Audio graph

The audio graph the engine renders, given as a Switchboard.AudioGraph configuration map. May also be set later through the property of the same name.


Properties​

Inherits properties from its parent, SwitchboardObject.

description​

Type: String

Default: ""

The description of the engine.

graph​

Type: Object

The audio graph attached to the engine. Set with a Switchboard.AudioGraph configuration map; get returns the attached graph's object ID.

isRunning (Read only)​

Type: Boolean

Indicates whether the engine is currently running.

title​

Type: String

Default: ""

The title of the engine.

type (Read only)​

Type: String

The engine type the engine was created with, for example Switchboard.Realtime.


Actions​

Inherits actions from its parent, SwitchboardObject.

start​

Starts the engine.

Parameters​

None.

Return Value​

None.

stop​

Stops the engine.

Parameters​

None.

Return Value​

None.


Events​

This object does not provide any events.