|
Transform Reference Guide
|
Non-real-time Clock Source
Syntax
Slammer options
Options
- -name
- Optional user-defined name for the transform
- -stop_time
- Time to automatically stop clock
- Type: Float
- Default: -1
- -start_time
- Start time of clock (used by reset)
- Type: Float
- Default: 0.0
- -period
- Period of clock ticks (zero for default)
- Type: Double
- Default: 0
Inlets
- stop_time
- Time to automatically stop clock
- Type: Float
- Default: -1
- start_time
- Start time of clock (used by reset)
- Type: Float
- Default: 0.0
- stop
- Stop clock
- Type: Unit
- start
- Start clock
- Type: Unit
- reset
- Reset clock
- Type: Unit
Outlets
- clockStopped
- Emitted when clock stops
- Type: Unit
- timeOut
- Clock output
- Type: Time
State Variables
- period
- Period of clock ticks (zero for default)
- Type: Double
- Default: 0
Comments
Slammer outputs time values separated by period as fast as possible. It is intended for use in processing that depends on the virtual time system (e.g., almost all signal sources) but can does not need to be done in real time.
Slammer starts outputting values whenever it receives a unit via its start inlet and stops when a unit is received via the stop inlet or the value of the inlet/parameter stop_time has been exceeded. When output stops, a unit is emitted via clockStopped outlet.
See Also
- Ticker
- TimeMachine
Copyright / Licence
Open Sound World User Guide
© 2000-2004 Amar Chaudhary. All rights reserved.