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.
If I need an audio buffer or 4096 samples or possibly higher for detection of some low frequencies do I need to set the AudioBuffer size of my JUCE plug-in to 4096 as well as the buffer size in the pitch tracking module? In the pitch_detection module there doesn’t seem to be any code to get more samples if say my AudioBuffer in my plug in is set to 1024. I can’t imagine it just magically grabs the upcoming required samples? How does this work?
Please let me know if my question is not clear/ if anyone has any in sight into this.