Timer Node
Emits a tick event at a fixed interval, timed by counting the audio frames arriving on its input bus. The input audio itself is ignored. Ticks fall on buffer boundaries, so timing resolution is one buffer, and no ticks are emitted while the graph is not running.
Configuration
This object does not provide any configuration options.
Properties
Inherits properties from its parents, Node, SwitchboardObject.
eventData
Type: String
The value sent as the data of every tick event. Defaults to null.
fireOnStart
Type: Boolean
Default: false
When true, the first tick is emitted as soon as the graph starts (after startDelay) instead of one interval later. Only read when the graph starts. Defaults to false.
interval
Type: Int
Default: 1000
Range: 1 to 60000
Unit: ms
Time in milliseconds between tick events. Defaults to 1000.
startDelay
Type: Int
Default: 0
Range: 0 to 60000
Unit: ms
Extra delay in milliseconds before the first tick; later ticks follow every interval. Defaults to 0.
Actions
Inherits actions from its parent, SwitchboardObject.
This object does not provide any additional actions.
Events
tick
Emitted every interval milliseconds. The event data is the value of eventData.
Data
None.