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

RedTapTempoGUI : Object
ExtensionExtension

average tempo of the last n taps/clicks

Class Methods

RedTapTempoGUI.new(clock, n: 4, timeout: 3, server, parent, position)

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, CompositeView or nil.

position

A Point or nil.

RedTapTempoGUI.def

Return the SynthDef.

Inherited class methods

Instance Methods

.tempo

.tempo = bps

Get or set tempo in bps.

.monitor = bool

A Boolean. see -monitorBus below.

.monitorAmp = val

A Float.

.monitorBus = index

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.

.close

Closes the window if open and stop internal task.

.def

Return the SynthDef.

Inherited instance methods

Undocumented instance methods

.clock

.clock =

.parent

Examples