RedTapTempoGUI:
Filter:
redSys/Classes (extension) | Red > redTapTempo

RedTapTempoGUI
ExtensionExtension

average tempo of the last n taps/clicks

Class Methods

.new

Arguments:

clock

Provide a TempoClock. nil creates a TempoClock internally.

n

Number of taps to average.

timeout

Time after n counter is reset.

server

For monitor synth. The default is Server.default.

parent

A Window, View or nil.

position

A Point or nil.

.def

Return the SynthDef.

Instance Methods

.tempo

Get or set tempo in bps.

.monitor

A Boolean. see -monitorBus below.

.monitorAmp

A Float.

.monitorBus

Which bus to play the click sound on.

Discussion:

As the default monitor bus is 7 we need to s.options.numOutputBusChannels= 8; and then s.reboot and s.meter to see the signal.

.clock

The TempoClock in use.

.close

Closes the window if open and stop internal task.

.def

Calls *def

.parent

Return the current parent (Window or View).

Examples