Skip to main content

earshot_classifier 1.0.0 copy "earshot_classifier: ^1.0.0" to clipboard
earshot_classifier: ^1.0.0 copied to clipboard

On-device sound classification for Flutter, with Apple SoundAnalysis and YAMNet backends. No network.

example/README.md

earshot_classifier example #

import 'package:earshot_classifier/earshot_classifier.dart';

const EarshotClassifier().detections().listen((detection) {
  // sound is null when the label maps to no EarshotSound.
  print('${detection.group}: ${detection.sound ?? detection.rawLabel}');
});

A complete Flutter app that uses the earshot packages lives in examples/earshot_example.