Skip to main content

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

Pre-release: on-device ambient listening for Flutter. Sound level in dB(A) and sound classification in one stream. No network.

example/README.md

earshot_plugin example #

import 'package:earshot_plugin/earshot_plugin.dart';

await const MicrophonePermission().request();

const Earshot().listen().listen(
  (event) => print('${event.level?.db} dB(A), ${event.detections}'),
  onError: (Object error) => print(error),
);

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

5
likes
160
points
340
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pre-release: on-device ambient listening for Flutter. Sound level in dB(A) and sound classification in one stream. No network.

Repository (GitHub)
View/report issues
Contributing

Topics

#audio #decibel #sound-classification #microphone

License

MIT (license)

Dependencies

earshot_capture, earshot_classifier, earshot_level, flutter, meta

More

Packages that depend on earshot_plugin