cordova-plugin-pitch
v0.0.1
Published
Cordova P Plugin
Downloads
15
Maintainers
Readme
com.bandpad.cordova.audiofrequency
This plugin captures the device's audio input stream and analyses it to return the maximum frequency.
It adds the following window event:
- audiofrequency
Installation
cordova plugin add com.bandoad.cordova.audiofrequencySupported Platforms
- iOS
- Android
Example
window.addEventListener("audiofrequency", onAudiofrequency, false);
function onAudiofrequency(e) {
console.log("Frequency: " + e.frequency + " Hz");
}