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
aschwersenz opened this issue
Nov 23, 2019
· 3 comments
Labels
analysis neededThis is a question or potential bug that needs further analysis.help wantedThe great thing about open-source is that everyone can contribute!
I am trying to do a frequency analysis of the current microphone input using your plugin and ionic. My code looks like this
const audioContext = new webkitAudioContext();
audioinput.start({
audioContext: audioContext,
streamToWebAudio: true
});
const analyser = audioContext.createAnalyser();
audioinput.connect(analyser);
const bufferLength = analyser.frequencyBinCount;
let dataArray = new Uint8Array(bufferLength);
for (let i = 0; i < 100; i++) {
analyser.getByteFrequencyData(dataArray);
console.log(dataArray);
}
But the array always just contains 0. I read somewhere that there is a bug with 1.0.2, so I reverted to 1.0.1 but to no avail. Any ideas what I am doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
edimuj
added
analysis needed
This is a question or potential bug that needs further analysis.
help wanted
The great thing about open-source is that everyone can contribute!
labels
Nov 27, 2019
I had a similar issue related to this, the problem in my case was that I was also using getUserMedia to get microphone data and presumably there was a race condition for the same hardware resource
analysis neededThis is a question or potential bug that needs further analysis.help wantedThe great thing about open-source is that everyone can contribute!
Hi,
I am trying to do a frequency analysis of the current microphone input using your plugin and ionic. My code looks like this
But the array always just contains 0. I read somewhere that there is a bug with 1.0.2, so I reverted to 1.0.1 but to no avail. Any ideas what I am doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered: