Warblade
← All posts

17 October 2026

iPhone: the sound that kept ringing in the web app

Anyone playing Warblade on an iPhone as a web app (through Share → Add to Home Screen) could run into an odd problem: the last sound kept going as a buzzing, ringing loop. Mostly when the game was busy for a moment, during the pause, and when returning to the app after swiping it away.

What went wrong

The browser version hands its sound to the browser in small blocks. Safari (WebKit) simply plays a block again when the game has not filled it in time: on a heavy frame, during the pause, or when iOS freezes the app in the background. The same fraction of a second then keeps coming back, and you hear it as a buzzing tone.

On top of that, iOS freezes a web app you swipe away but keeps its sound output running. Coming back, the loop was the first thing you heard.

The fix

Three changes, all three put online today:

  • Every sound block is cleared before the game fills it. A block that is not filled in time is now silence instead of a repeat.
  • The blocks are larger: about 85 milliseconds at the device's own sample rate. A heavy frame fits in that easily.
  • As soon as the page is hidden or closes, it stops the sound. It carries on when you return or at the next touch.

Still hearing it?

The web app fetches a new version by itself once you are on the title screen. If you still hear it, swipe the app away completely and open it again. If it persists, write to game (at) warblade (dot) snel (dot) me with your iPhone model and iOS version.

Also today for iPhone and iPad

  • Fingers that iOS does not release after a long press no longer get stuck.
  • In portrait the control bar sits higher, so your thumb does not catch the iPhone's home bar.
  • The home screen icon is found again now that the start page sits at the site's root.
  • The game asks for less memory at start, which gives older iPads a chance as well.
← All posts