pitch_detector_dart 0.0.5 copy "pitch_detector_dart: ^0.0.5" to clipboard
pitch_detector_dart: ^0.0.5 copied to clipboard

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

19
likes
130/ 160
pub points
331
downloads

We analyzed this package 6 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting pitch_detector_dart... Discovering libraries... Linking elements... Precaching local docs for 136804 elements... Initialized dartdoc with 54 libraries Generating docs for library exceptions/invalid_audio_buffer_exception.dart from package:pitch_detector_dart/exceptions/invalid_audio_buffer_exception.dart... Generating docs for library util/pcm_util_extensions.dart from package:pitch_detector_dart/util/pcm_util_extensions.dart... Generating docs for library pitch_detector.dart from package:pitch_detector_dart/pitch_detector.dart... Generating docs for library pitch_detector_result.dart from package:pitch_detector_dart/pitch_detector_result.dart... Generating docs for library algorithm/yin.dart from package:pitch_detector_dart/algorithm/yin.dart... [2 more lines] ERR: warning: pitch_detector_dart has no library level documentation comments from pitch_detector_dart: (file:///tmp/pana_WOBGWG/lib/pitch_detector.dart:1:9) warning: pitch_detector_dart has no library level documentation comments from pitch_detector_dart: (file:///tmp/pana_WOBGWG/lib/pitch_detector_result.dart:1:9) error: file already written at "pitch_detector_dart/index.html" for symbol pitch_detector_dart: (file:///tmp/pana_WOBGWG/lib/pitch_detector_result.dart:1:9) conflicting with file already generated by pitch_detector_dart: (file:///tmp/pana_WOBGWG/lib/pitch_detector.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'pitch_detector_dart' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [16 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 8 issues. Showing the first 2:

INFO: The variable name 'DEFAULT_THRESHOLD' isn't a lowerCamelCase identifier.

lib/algorithm/yin.dart:13:23

   ╷
13 │   static final double DEFAULT_THRESHOLD = 0.20;
   │                       ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/algorithm/yin.dart

INFO: The variable name 'DEFAULT_BUFFER_SIZE' isn't a lowerCamelCase identifier.

lib/algorithm/yin.dart:15:20

   ╷
15 │   static final int DEFAULT_BUFFER_SIZE = 2048;
   │                    ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/algorithm/yin.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
19
likes
130
points
331
downloads

Publisher

verified publishertechpotatoes.com

Weekly Downloads

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

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on pitch_detector_dart