I really enjoy the drums in number four. Are you utilizing audio files for all sounds (mp3, m4a, ogg, etc.)? What platform are you using to stream those files to users? Apple products certainly created issues for my apps too and even worse when they come out with an update that breaks your code.
Thanks! All sounds are pre-rendered MP3s (256 kbps), with stems as separate files. Playback is Tone.js on the Web Audio API in a plain static page, no framework, hosted as static files on GitHub Pages. And yes, Safari/iOS has been the main source of pain, mostly audio sessions being interrupted and AirPlay.
Are you running into GitHub Pages bandwidth limits? That was an issue I had when I was streaming .m4a files. I ended up scrapping audio files and moving to procedural DSP in Web Audio. Even with that, it still took me forever to get lock screen audio to play and then I ran into bugs when the lock screen play buttons were pressed. On top of that, I am using an old iPad to play the audio to ensure the CPU isn't being overloaded and the device only updates to iOS 17 which has known WebKit bugs that won't be patched. Nice work on this, I'll keep an eye out for updates.
1 reply
Not hitting limits so far. But too be fair I haven't had any massive loads of traffic yet... It's about 180 MB of MP3s in total. Lock screen audio was the same story for me: iOS interrupts the audio session and Web Audio doesn't always resume cleanly. Procedural DSP is a cool approach, and testing on an old iPad is smart. Thanks for following along!
