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

cordova-audiofrequency plugin is not detecting audio freq 16000hz #3

Open an-rohangovekar opened 8 years ago

an-rohangovekar commented 8 years ago

I'm trying to detect audio frequency of 16000 hz, but it detecting natural frequencies 240, 123 like that, what to do ???

moust commented 8 years ago

I have encountered this kind of problem on some devices, I think it comes form the sensibility of the microphone. Sorry but I havn't solution for the moment for this kind of problem. Maybe it should be interesting to add a filter or something like that..

an-rohangovekar commented 8 years ago

I have checked on multiple devices it doesn't detect any frequency over 8000.

moust commented 8 years ago

When I made my tests last year I managed to detect frequency up to 21-22 MHz with various iPhone generations and some android devices too.