-
-
Save techpotatoes/262a038850c788adb3b9fdb2defb5747 to your computer and use it in GitHub Desktop.
Usage of pitch_detector_dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Create a new pitch detector and set the sample rate and buffer size | |
final pitchDetectorDart = PitchDetector(44100, 2000); | |
//Call the get pitch method passing as a parameter the audio sample (List<double>) to detect a pitch | |
final result = pitchDetectorDart.getPitch(audioSample); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment