I want to make a simple software to aid in learning the guitar fretboard.
I have some experinece with C++ API programming, and some with fourier analysis in MATLAB.
I believe I need one thread to sample the line input, and hold such a buffer of samples.Every 1/4 seconds (empirically chosen), the last n samples of the buffer will be analyzed for frequency.
Another thread will start this analysis. Yet, another thread (main) will ask the user "play B", get the response from the analysis thread and give a result (right/wrong, too low, too high, etc).
Is this the right way to go? What are you opinions?
What are the API functions i'm looking for? Also, is there a class or API implementation for fourier analysis (or frequency analysis, whichever is right). I do not want to implement this kind of stuff, since my math is pretty weak.