Timing

AudioFrequencyMeter

Get the fundamental pitch of an audio signal

Allows the Arduino Zero, MKRZero and MKR1000 to sample a generic input audio signal and get the fundamental pitch

Go to repository

This library allows an an Arduino based on SAMD architectures (all MKR boards, Nano 33 IoT and more) to sample an analog Input signal and get back its frequency. The analog pin to be used to sample the signal and the sample frequency can be chosen.

To use this library:

1#include <AudioFrequencyMeter.h>


begin()
end()
setClippingPin()
checkClipping()
setAmplitudeThreshold()
setTimerTolerance()
setSlopeTolerance()
setBandwidth()
getFrequency()