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.
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.
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.