pitch_detector_dart_update_test 0.0.4 copy "pitch_detector_dart_update_test: ^0.0.4" to clipboard
pitch_detector_dart_update_test: ^0.0.4 copied to clipboard

A dart library for pitch detection. It implements the yin algorithm port from the tarsosDSP library by Joren Six. fix(thet uuid package that test package depend on is too low.)

Pitch detector dart library #

A dart library for pitch detection. It implements the yin algorithm ported from the tarsosDSP library by Joren Six.

Getting started #

To import the library into your project, go to your project pubspec.yaml and add the dependency:

dependencies:
  pitch_detector_dart: ^0.0.2

Usage #

//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);

See the full example here: https://github.com/techpotatoes/pitchup_flutter_sample

The result will contain:

  • pitch: The pitch extracted from the audio sample if existent
  • probability: The probability of the pitch found
  • pitched: A flag to indicated if a pitch was identified or not from the sample given

Contributing #

Please, drop me an email if you have any suggestions, problems or feedback. Feel free to submit a pull request if you improved the library and want to share it.

Privacy Policy #

This page informs you of our policies regarding the collection, use and disclosure of Personal Information when you use our Service.

The library don't store or share any kind of information. No data is saved or shared through any means.

1
likes
110
pub points
36%
popularity

Publisher

unverified uploader

A dart library for pitch detection. It implements the yin algorithm port from the tarsosDSP library by Joren Six. fix(thet uuid package that test package depend on is too low.)

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on pitch_detector_dart_update_test