mlx_audio 0.2.1 copy "mlx_audio: ^0.2.1" to clipboard
mlx_audio: ^0.2.1 copied to clipboard

On-device speech for Apple Silicon: Parakeet-TDT and Whisper speech-to-text and PocketTTS text-to-speech, built on the mlx array framework via mlx-c.

70/ 160
pub points
236
downloads

We analyzed this package 9 days ago, and awarded it 70 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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

201 out of 266 API elements (75.6 %) have documentation comments.

Some symbols that are missing documentation: mlx_audio.AlignedToken.AlignedToken.new, mlx_audio.GenerationCancellation.GenerationCancellation.new, mlx_audio.GenerationCancellation.reason, mlx_audio.GenerationCancellationController.GenerationCancellationController.new, mlx_audio.GenerationCancellationController.cancel.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: The method 'setCacheLimit' isn't defined for the type 'SmartTurn'.

lib/src/turn/smart_turn_model.dart:531:37

    ╷
531 │     if (gpuCacheLimitBytes != null) setCacheLimit(gpuCacheLimitBytes);
    │                                     ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/turn/smart_turn_model.dart

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

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

Package Constraint Compatible Latest Notes
args ^2.5.0 2.7.0 2.7.0
crypto ^3.0.0 3.0.7 3.0.7
http ^1.2.0 1.6.0 1.6.0
mlx ^0.1.0 0.1.0 0.2.0
path ^1.9.0 1.9.1 1.9.1
wav ^1.4.0 1.5.0 1.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
meta - 1.19.0 1.19.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

The constraint `^0.1.0` on mlx does not support the stable version `0.2.0`, that was published 13 days ago.

When mlx is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions mlx to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/src/turn/smart_turn_model.dart:531:37 - The method 'setCacheLimit' isn't defined for the type 'SmartTurn'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.18, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
70
points
236
downloads

Documentation

API reference

Publisher

verified publisherksh.dev

Weekly Downloads

On-device speech for Apple Silicon: Parakeet-TDT and Whisper speech-to-text and PocketTTS text-to-speech, built on the mlx array framework via mlx-c.

Repository (GitHub)
View/report issues

Topics

#speech-to-text #text-to-speech #whisper #mlx #on-device-ai

License

MIT (license)

Dependencies

args, crypto, http, mlx, path, wav

More

Packages that depend on mlx_audio