Answer the question
In order to leave comments, you need to log in
How to reduce memory usage in Web Audio API?
How to process / store audio files in the Web Audio API so that they take up a minimum amount of RAM? At the moment I am loading audio files and storing AudioBuffers received from them. Ultimately, with 7 MP3 audio files totaling 25 MB, the Google Chrome process uses >700 MB of RAM, and more than one gigabyte in processing these files.
Answer the question
In order to leave comments, you need to log in
Finally found a solution. Instead of uploading files, I used to control the audio elements that I previously added to the page. You can also work with them through the Web Audio API, which is what I needed. As a result, instead of 700 MB, the browser process uses only 100 MB.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question