rnheroes / react-native-pitchy

A real-time pitch detection library for React Native.
https://www.npmjs.com/package/react-native-pitchy
MIT License
44 stars 2 forks source link

Does this use Spotify's Basic Pitch algorithm? #6

Open godofecht opened 1 day ago

godofecht commented 1 day ago

Does this use Spotify's Basic Pitch algorithm?

If not, have you ever compared the performance?

yigithanyucedag commented 21 hours ago

No, I don’t use Spotify’s Basic Pitch algorithm—I use the autocorrelation method instead. Basic Pitch is a deep learning-based approach designed for polyphonic music transcription, while autocorrelation is a more traditional signal processing method, typically used for pitch detection in monophonic sounds. I haven’t directly compared the two, as I’ve mainly focused on testing how well the autocorrelation method performs across both platforms.

yigithanyucedag commented 21 hours ago

If you’re interested in implementing and comparing different methods, feel free to give it a shot and open a pull request. I’d love to see it!