You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think so but if you can point me to a Cordova implementation (I assume this is a cordova plugin you've used) I can check the native APIs being used and see what needs to be addressed with this plugin. Thanks
evt.data will return raw microphone data ( [ 0.003434 , -0.12355 , 0.0002323 ....... ] )
function onAudioInputCapture(evt) {
try {
if (evt && evt.data) {
// Increase the debug counter for received data
totalReceivedData += evt.data.length;
console.log(evt.data)
// Add the chunk to the buffer
audioDataBuffer = audioDataBuffer.concat(evt.data);
}
}
catch (ex) {
alert("onAudioInputCapture ex: " + ex);
}
}
While I try to make my previous cordova project to nativescript style, which can analyze
raw audio data in real-time, this open-source help me a lot.
But I think it hasn't proper API to collect the raw microphone data
like .. [ 0.003434 , -0.12355 , 0.0002323 ....... ] this.
Can you answer me if it have API or not?
The text was updated successfully, but these errors were encountered: