I'm making an installation in which two seperate microcontrollers send over data by using frequency values.
I've decided to use the notefreq (AudioAnalyzeNoteFrequency object) to do that detection. I want to sample the incoming 'beeps' over a period of time and then average those. Though when I'm doing that it will only take 3 samples in a 200ms window. So I figure the notefreq object actually does already what I'm trying to do, and toggles the notefreq.available() when it's done sampling over that time.

Is what i'm stating here the truth of how the object works? And if so, is there any way at which I can control that exact sampling window.

hpp file of the object;

ccp file of the object;