Reliable pitch tracking is not an easy task.
Do you need help about the coding part or the algorithm part?
For the algorithm part there are some threads about it already on the forum.
Hi there,
I’m looking for a straightforward pitch recognizer C++ API (like every real tuner do). Does anybody here know how to find this kind of API?
What I would like to do is basically extract the fundamental frequency from a given wave sample (in real-time), then convert it to the closest pitched note, and finally into a proper NoteOn MIDI signal.
I already tried to Google it, but I haven’t found anything so far.
Any ideas?
Thanks
I am trying to rewrite the fastDifference function in the pYIN by Matthias Mauch to use JUCE’s fft. I am doing something wrong, but I don’t know what.
Here is the original:
void
YinUtil::fastDifference(const double *in, double *yinBuffer)
{
int frameSize = 2 * m_yinBufferSize;
int halfSize = m_yinBufferSize;
double *audioTransformedComplex = new double[frameSize + 2];
double *audioOutReal = new double[frameSize];
double *kernel = new double[frameSize];
double *kernelTransformedComplex = n…
I am working on a AudioPlugin that does pitch detection as well as play style recognition on an electric bass. I found this thread on pitch tracking in JUCE but haven’t had much success with adamski’s module tracking low frequencies so I am looking at implementing my own or modifying what he has done, but I am not entirely clear on how JUCE AudioBuffer works in tandem with other audio programs running.
For example:
If I need an audio buffer or 4096 samples or possibly higher for detection of s…