edimuj / cordova-plugin-audioinput

This iOS/Android Cordova/PhoneGap plugin enables audio capture from the device microphone, by in near real-time forwarding audio to the web layer of your application. A typical usage scenario for this plugin would be to use the captured audio as source for a web audio node chain, where it then can be analyzed, manipulated and/or played.

Home Page:https://github.com/edimuj/app-audioinput-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

speechcapture link/project disappeared

olivermuc opened this issue · comments

Edin,
Any chance you can share this library with us again?
It's exactly what I am looking for - much appreciated!
Oliver

commented

The reason why that library disappeared is that it was licensed to a company for commercial use a couple of years ago.

Thanks Edin.
Any pointers though as to how to read/process your event data to determine low volume for a particular duration?

EDIT:
I will take a look at this, just found it (fingers crossed).

commented

That code by @cwilso (the god of audio processing) is a good starting point. It basically detects clipping (audio levels which are too high and leads to annoying clicks), but it should be possible to use the same method to detect audio above a certain (lower) level and then combine it with functionality that captures only that audio from the incoming audio data stream.

Right, thanks for confirming. I was first thinking that I might get away with simply creating avg data values across recorded (event) chunks and subtract a "certain" ambient volume level.
But wasn't sure that's exactly what I need to do, it feels too easy, lol.