|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Uses the SoundTouch BPMDetect class to guess the tempo of some audio. More...
#include "tracktion_TempoDetect.h"
Public Member Functions | |
| TempoDetect (int numChannels_, double sampleRate) | |
| float | processReader (juce::AudioFormatReader &reader) |
| Processes an entire AudioFormatReader returning the tempo for it. | |
| float | processAndDetect (const float **const inputSamples, int numSamples) |
| Processes a block of audio returning the tempo for it. | |
| float | getBpm () const |
| Returns the last BPM detected. | |
| bool | isBpmSensible () const |
| void | processSection (juce::AudioBuffer< float > &buffer, int numSamplesToProcess) |
| Processes a non-interleaved buffer section. | |
| float | finishAndDetect () |
| Completes the detection process and returns the BPM. | |
| void | processSection (const float *const *inputSamples, int numSamples) |
Static Public Member Functions | |
| static juce::Range< float > | getSensibleRange () |
Uses the SoundTouch BPMDetect class to guess the tempo of some audio.
Definition at line 53 of file tracktion_TempoDetect.h.
Definition at line 56 of file tracktion_TempoDetect.h.
| float tracktion::engine::TempoDetect::finishAndDetect | ( | ) |
Completes the detection process and returns the BPM.
Definition at line 115 of file tracktion_TempoDetect.h.
| float tracktion::engine::TempoDetect::getBpm | ( | ) | const |
Returns the last BPM detected.
Definition at line 102 of file tracktion_TempoDetect.h.
|
static |
Definition at line 105 of file tracktion_TempoDetect.h.
| bool tracktion::engine::TempoDetect::isBpmSensible | ( | ) | const |
Definition at line 104 of file tracktion_TempoDetect.h.
| float tracktion::engine::TempoDetect::processAndDetect | ( | const float **const | inputSamples, |
| int | numSamples | ||
| ) |
Processes a block of audio returning the tempo for it.
Definition at line 94 of file tracktion_TempoDetect.h.
| float tracktion::engine::TempoDetect::processReader | ( | juce::AudioFormatReader & | reader | ) |
Processes an entire AudioFormatReader returning the tempo for it.
Definition at line 65 of file tracktion_TempoDetect.h.
| void tracktion::engine::TempoDetect::processSection | ( | const float *const * | inputSamples, |
| int | numSamples | ||
| ) |
Definition at line 120 of file tracktion_TempoDetect.h.
| void tracktion::engine::TempoDetect::processSection | ( | juce::AudioBuffer< float > & | buffer, |
| int | numSamplesToProcess | ||
| ) |