Skip to main content

earshot_classifier_platform_interface 0.2.0 copy "earshot_classifier_platform_interface: ^0.2.0" to clipboard
earshot_classifier_platform_interface: ^0.2.0 copied to clipboard

Pre-release: the pure Dart platform interface for earshot_classifier, with the shared types for on-device sound classification.

Changelog #

0.2.0 #

  • Add EarshotClassifierPlatform.classify(Stream<PcmChunk>, ClassifierConfig), so native backends classify PCM from earshot_capture instead of opening their own microphone session (ADR 0018). It defaults to a stream that errors with UnimplementedError.
  • detections now captures with earshot_capture too, and detection timestamps follow the PCM clock.
  • Depend on earshot_capture_platform_interface for PcmChunk.

0.1.0 #

  • Add EarshotSound, the cross-backend sound vocabulary. Each sound lists the Apple and YAMNet labels it maps to, validated against the official label lists.
  • Add SoundVocabulary to map raw labels to sounds and groups. Unmapped labels fall back to their group, and silence is never reported.
  • Add SoundDetection.sound.
  • BREAKING: EarshotClassifierPlatform.detections takes a ClassifierConfig and reports raw, unsmoothed detections from the backend's own microphone session.
  • Add EarshotClassifierPlatform.isAvailable.

0.0.1 #

  • Initial API preview.
0
likes
160
points
406
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pre-release: the pure Dart platform interface for earshot_classifier, with the shared types for on-device sound classification.

Repository (GitHub)
View/report issues
Contributing

Topics

#audio #sound-classification #plugin-interface

License

MIT (license)

Dependencies

earshot_capture_platform_interface, meta, plugin_platform_interface

More

Packages that depend on earshot_classifier_platform_interface