What’s the best way to detect the correct pitch?

See the following blog and repo: part 1: https://blog.xrds.acm.org/2018/03/audio-features-web-based-ml/ part 2: https://blog.xrds.acm.org/2018/03/web-based-voice-command-recognition/

https://github.com/google/web-audio-recognition/blob/master/audio-features/src/index.ts

This repo has a great example

https://github.com/cwilso/PitchDetect

demo: https://cwilso.github.io/PitchDetect/

What’s a ACF2+ algorithm?

Another plug and play library: https://github.com/sablevsky/freelizer

Youtube video on Audio Classification with Machine Learning : https://www.youtube.com/watch?v=uCGROOUO_wY&t=920s&ab_channel=JonNordby

Spotify pitch detection to midi: https://github.com/spotify/basic-pitch https://www.npmjs.com/package/@spotify/basic-pitch