BASS.NET API for the Un4seen BASS Audio LibraryBPMCounter MembersBASS.NET API for the Un4seen BASS Audio Library

The BPMCounter type exposes the following members.
Constructors

  NameDescription
Public methodBPMCounter
The contructor of the beat detection class.
Back to Top
Methods

  NameDescription
Public methodProcessAudio
Processes the audio data (gets instant FFT samples) and calculates the live BPM.
Public methodReset
Call this to reset all internal buffers and/or to change the current samplerate of the audio signal to be processed.
Public methodSetSamperate
Call this method to change the current samplerate of the audio signal to be processed.
Public methodTapBeat
Call this to set (tap) a beat manually (e.g. on a mouse click event). The resulting (tapped) BPM value is available at TappedBPM.
Back to Top
Properties

  NameDescription
Public propertyBPM
Gets or sets the currently detected live BPM value (detected via ProcessAudio(Int32, Boolean)).
Public propertyBPMHistorySize
Gets or Sets the BPM history buffer size (Minimum=2, Maximum=50, Default=10).
Public propertyMaxBPM
Gets or sets the maximum BPM value (default is 180, maximum is 250).
Public propertyMinBPM
Gets or sets the minimum BPM value (default is 60, minimum is 30).
Public propertyTappedBPM
Gets or sets the manually tapped BPM value (detected via TapBeat ).
Back to Top
See Also