need guidance in setting audio_guitartuner_blocks in noteFreq

jrdarrah

Well-known member
I'm using noteFreq in the audio library to detect a notes down to 220 hz. In researching the underlying code I saw this comment in analyze_notefreq.h

1. AUDIO_GUITARTUNER_BLOCKS - Buffer size is 128 AUDIO_BLOCKS.
The more AUDIO_GUITARTUNER_BLOCKS the lower the frequency you can detect. The default, (24) is set to measure down to 29.14 Hz or B(flat)0.

I can't find a formula relating the number of blocks to the lowest frequency it will detect. What would be a good setting for my 220 note or how can I calculate the number based on note frequency?
 
Back
Top