audiolabs / webMUSHRA

a MUSHRA compliant web audio API based experiment software
https://audiolabs.github.io/webMUSHRA/
Other
354 stars 138 forks source link

Nice to have: AudioFileLoader performance improvement #101

Closed w4iei closed 2 years ago

w4iei commented 2 years ago

When loading a 100mb configuration, the main javascript thread of loading in the audio files takes a considerable amount of time (~15s) to load on safari/chrome, in comparison to 2s of network requests.

image
faroit commented 2 years ago

@w4iei Are you generating the lower anchors by webmushra? If yes, try to disable that and recheck performance.

The anchors are filters processed in js and might be slow for large files.

w4iei commented 2 years ago

@faroit Thank you. This is definitely the cause of the performance issue. I will preprocess the anchors and serve them. Thank you!