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.
https://github.com/edimuj/app-audioinput-demo
MIT License
161 stars 88 forks source link

Enable using saving to files and audio events or Web Audio simultaneously #87

Open edimuj opened 5 years ago

edimuj commented 5 years ago

The plugin doesn't support simultaneously saving audio to files and getting the captured audio delivered to the web app as events or Web Audio.

This would enable you to for example analyze the captured audio for silence while saving to file and when silence occurs, stop the recording and then do something with the created file recording.

(Idea from @giorgiobeggiora)