pitch_detector_dart 0.0.5
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.
We analyzed this package 19 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
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 util/pcm_util_extensions.dart from package:pitch_detector_dart/util/pcm_util_extensions.dart... Generating docs for library pitch_detector_result.dart from package:pitch_detector_dart/pitch_detector_result.dart... Generating docs for library algorithm/pitch_algorithm.dart from package:pitch_detector_dart/algorithm/pitch_algorithm.dart... Generating docs for library algorithm/yin.dart from package:pitch_detector_dart/algorithm/yin.dart... Generating docs for library exceptions/invalid_audio_buffer_exception.dart from package:pitch_detector_dart/exceptions/invalid_audio_buffer_exception.dart... [2 more lines] ERR: warning: pitch_detector_dart has no library level documentation comments from pitch_detector_dart: (file:///tmp/pana_OMVZRO/lib/pitch_detector_result.dart:1:1) warning: pitch_detector_dart has no library level documentation comments from pitch_detector_dart: (file:///tmp/pana_OMVZRO/lib/pitch_detector.dart:1:1) error: file already written at "pitch_detector_dart/index.html" for symbol pitch_detector_dart: (file:///tmp/pana_OMVZRO/lib/pitch_detector.dart:1:1) conflicting with file already generated by pitch_detector_dart: (file:///tmp/pana_OMVZRO/lib/pitch_detector_result.dart:1:1) 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]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
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
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
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Dart 3.7.2
.
Check the analysis log for details.