Cellules / cordova-audiofrequency

This plugin captures the device's audio input stream and analyses it to return the maximum frequency.
MIT License
5 stars 6 forks source link

com.cellules.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:

Installation

cordova plugin add com.cellules.cordova.audiofrequency

Supported Platforms

Example

window.addEventListener("audiofrequency", onAudiofrequency, false);

function onAudiofrequency(e) {
    console.log("Frequency: " + e.frequency + " Hz");
}