Skip to content

hibernick/audioStreamer

 
 

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 45.7%
  • Java 35.2%
  • Ruby 9.9%
  • Objective-C 9.2%