Skip to content

hungrymonkey/mic_stream

Repository files navigation

mic_stream

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

Master branch should work with flutter stable.

Getting Started

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

dependencies:
  mic_stream:
    git:
      url: https://github.com/hungrymonkey/mic_stream.git

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>
});

References

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published