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

TempoBus
ExtensionExtension

maintains a control Bus on the server with the current Tempo

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

.new

Arguments:

server
tempo

Instance Methods

.tempo

.releaseBus

.asBus

.index

.server

.prepareToBundle

Arguments:

group
bundle

.addToSynthDef

Arguments:

synthDef
name

.synthArg

.rate

.instrArgFromControl

Arguments:

control

.free

.init

Arguments:

server

.update

Arguments:

changed
changer