awareframework_ambientnoise 0.0.5 awareframework_ambientnoise: ^0.0.5 copied to clipboard
Ambient Noise sensor allows us to collect ambient noise information by each period using a phone's microphone. The data contains RMS, frequency(Hz), and decibels(dB).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add awareframework_ambientnoise
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
awareframework_ambientnoise: ^0.0.5
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:awareframework_ambientnoise/awareframework_ambientnoise.dart';