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 is compatible with the samd architecture so you should be able to use it on the following Arduino boards:

Compatibility Note

Note: while the library is supposed to compile correctly on these architectures, it might require specific hardware features that may be available only on some boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.


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:

#include <AudioFrequencyMeter.h>