TempoBus:
Filter:
Classes (extension) | Libraries > crucial > Scheduling

TempoBus : Object
ExtensionExtension

maintains a control Bus on the server with the current Tempo
Source: TempoBus.sc

Description

A Bus whose value is set by a Tempo. It can be used as a multiplier in any Synth on the Server that needs to know the Tempo. It is used by BeatClockPlayer. Any Inst/Patch that needs a tempo input should use a TempoPlayer.

There is one TempoBus per server, per tempo. After the first time it is created, the shared instance will be returned for any subsequent requests.

Class Methods

TempoBus.new(server, tempo)

Arguments:

server
tempo

Inherited class methods

Instance Methods

.tempo

.tempo = value

.releaseBus

.asBus

.index

.server

.prepareToBundle(group, bundle)

Arguments:

group
bundle

.addToSynthDef(synthDef, name)

Arguments:

synthDef
name

.synthArg

.rate

.instrArgFromControl(control)

Arguments:

control

.free

.init(server)

Arguments:

server

.update(changed, changer)

Arguments:

changed
changer

Inherited instance methods