Get frequency value

I’m an italian student, and I’m using p5’s libraries to create a web guitar tuner.
I would like to know if there is a way to get the frequency of the microphone input.

Thanks

Hi @Strimply!
Check out this example from the p5js website.

You can also check for more p5js examples here, and the reference for p5.sound can be found here.

In the future please link between crossposts.

This question has also been asked here: https://stackoverflow.com/questions/50376861/how-to-get-frequency-value-in-javascript