mic_stream 0.5.4 mic_stream: ^0.5.4 copied to clipboard
MicStream is a plugin to receive raw byte streams from a device's microphone. Configurations allow for 8- and 16-bit PCM streams, and mono or stereo. Audio is returned as `Stream<Uint8list>`.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mic_stream
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mic_stream: ^0.5.4
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:mic_stream/mic_stream.dart';