Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

[Fork Oo longer maintained] Phonegap plugin for reading ambient noise level through microphone. (IOS / Android)

Notifications You must be signed in to change notification settings

etabard/Cordova-Mic-Volume

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fork no longer maintained

micVolume

WARNING : this plugin works in that it compiles and reads mic data, but the data read is difficult to interpret. This plugin should therefore not be treated as done, but rather a work in progress that still needs a fair amount of progress.

Phonegap plugin for reading ambient noise level through microphone.

Supported platforms

Android

iOS

Using

Add to your build flow : cordova plugin add https://github.com/shukriadams/micVolume.git

audioPoll.start(succesCallback, errorCallback);

audioPoll.read(function(reading){
    console.log(reading.volume);
}, errorCallback);

audioPoll.stop(succesCallback, errorCallback);

In all cases, errorCallback passes back either an error message string or object with an error message string in it.

About

[Fork Oo longer maintained] Phonegap plugin for reading ambient noise level through microphone. (IOS / Android)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 46.2%
  • Java 39.8%
  • JavaScript 14.0%