Skip to content

dgmltn/mic_stream

 
 

Repository files navigation

mic_stream

A Flutter plugin to access the mic fragments as Uint16List. Currently, android only

Getting Started

To use this plugin, add mic_stream as a dependency in your pubspec.yaml file.

Example

import 'package:mic_stream/mic_stream.dart';

micEvents.listen((MicEvent event) {
 // Do something with the event.
 event.audioData //<UInt16List>
});


micEventsFFT.listen((MicEvent event) {
 // Do something with the event.
 // I do not recommend the fft event because it is very slow
 event.audioData
 event.frequencyDomain //<Float64List>
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 45.9%
  • Java 35.0%
  • Ruby 9.9%
  • Objective-C 9.2%