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

Trying to play a sound to signal audio recording has started IOS

anthonyvespoli opened this issue · comments

I'm using the cordova Media plugin to play a simple beep sound to signal the start and end of the audio input. If I play the beep before I call audioinput.start(), it is very quiet which is not what I need. I need it to be full volume. If I call the beep after I call audioinput.start() it immediately ends the recording, which is also what I don't want. I've tried using a few different plugins to play the sound and this seems to be the case for all of them. It works fine on Android.

Anyone know what I'm doing wrong? I'm assuming there is something in the audioinput code that is doing this intentionally.