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

stereo recording

shi11 opened this issue · comments

Hi, I'm trying out your plugin and first want to say great work! I'm specifically testing whether I can record in stereo.

In your wav-demo.js file, I added CHANNELS.STEREO to this block

captureCfg = { audioSourceType: parseInt(audioSourceType), channels: window.audioinput.CHANNELS.STEREO };

however I'm getting this error caught in stopCapture().

"undefined is not an object (evaluating 'r[n][e]')"

any ideas? thanks in advance, Seth

commented

It sounds like the plugin isn't properly installed in your app for some reason. Does this error occur in mobile or in a browser? Do the window.audioinput object actually exists?

commented

Since there haven't been any activity on this issue for some months now, I'm closing it. Feel free to open it again if there is any change or new information.