A wrapper class around the dywapitchtrack library that provides JUCE-type interface methods. More...
Static Public Member Functions | |
static double | detectPitch (const File &fileToScan, AudioSampleBuffer &workingBuffer, double sampleRate) |
Scans a whole file and returns the pitch. More... | |
static double | detectPitch (const AudioSampleBuffer &buffer, int startSample, int numSamples, double sampleRate) |
detects the pitch in the audio buffer. More... | |
static int | getNumSamplesNeeded (double sampleRate) |
Returns the number of samples that is needed to detect 50 Hz. More... | |
static int | getNumSamplesNeeded (double sampleRate, double minFrequencyToAnalyse) |
Returns the number of samples that is needed to detect the given frequency. More... | |
A wrapper class around the dywapitchtrack library that provides JUCE-type interface methods.
|
inlinestatic |
Scans a whole file and returns the pitch.
You have to supply a working buffer that is used to read the data from the file. It must be stereo and have the desired length that can be obtained by getNumSamplesNeeded()
|
inlinestatic |
detects the pitch in the audio buffer.
|
inlinestatic |
Returns the number of samples that is needed to detect 50 Hz.
|
inlinestatic |
Returns the number of samples that is needed to detect the given frequency.