vamos Posted September 21, 2018 Share Posted September 21, 2018 Hello fellow html5 developers Does anyone know if there's a reliable way to play large sound files (like a background music track) via WebAudio, without having to decode the whole file first? The decoding process uses a lot of memory and on mobile platforms it seems to take forever. Can you recommend any viable alternative? Quote Link to comment Share on other sites More sharing options...
vamos Posted November 5, 2018 Author Share Posted November 5, 2018 I hope you don't mind me bumping this thread, but I still haven't found an acceptable solution to this problem Quote Link to comment Share on other sites More sharing options...
themoonrat Posted January 14, 2019 Share Posted January 14, 2019 For WebAudio, the only way to avoid decoding the file is to not have it encoded, so have it as a wav. But your file will be huge so that probably isn't practical on the web. Otherwise why not use an audio tag just for the background music only? Audio tags can play without having to download the full file first... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.