C# Class Accord.Audio.Metronome

Virtual Metronome.
Objects from this class acts as virtual metronomes. If connected to a beat detector, it can be used to determine the tempo (in beats per minute) of a signal. It can also be used in manual mode by calling Tap method. For more details, see the Beat detection sample application which comes together with the framework.
Inheritance: IDisposable
Mostra file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Metronome ( ) : System

Constructs a new Metronome.

Start ( ) : void

Starts the metronome.

Stop ( ) : void

Stops the metronome.

Tap ( ) : void

Taps the metronome (for tempo detection)

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Method Description
timeUp_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed /// and unmanaged resources; false to release only unmanaged /// resources.
return void

Metronome() public method

Constructs a new Metronome.
public Metronome ( ) : System
return System

Start() public method

Starts the metronome.
public Start ( ) : void
return void

Stop() public method

Stops the metronome.
public Stop ( ) : void
return void

Tap() public method

Taps the metronome (for tempo detection)
public Tap ( ) : void
return void