How to speed up the react output of Audio app

I did create a React Cordova app which listen the mic based on the https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API, … Read more How to speed up the react output of Audio app

I did create a React Cordova app which listen the mic based on the https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API, and show a visualization of the listening mic sound.
I can see a delay of about 1 second or maybe more, between the sound which is output in the speakers in my room and the graph shown on the Android app.
I can imagine few possible reasons:

    1. React is not fast enough for such an app, which I doubt
    1. I am analyzing too many frequencies of the audio data, and somehow I should only get frequencies I am interested in…
    1. My phone is too slow.

Do you have any suggestion to improve output of this specific app?

Source: React – Stack Overflow



Leave a Reply

Your email address will not be published. Required fields are marked *