~/talk

HTML5 audio sprites -- Holy Grail or Programmers Hell

Talkat JSConf EU 2013 · 2013-09-14..09-15· [web-performance, web-platform]
links:none on file
slides:none on file

Grepolis merges 150+ short effects into one audio sprite and plays fragments by setting currentTime and watching the timeupdate event; OGG files compress ~8% smaller than MP3. Tests show sequential playback cuts memory roughly to half the memory used by separate audio elements and eliminates many network requests, but creating multiple elements for simultaneous clips drives CPU and RAM up — 10 sounds at once spikes CPU as browsers rebase currentTime and fire unreliable timeupdate callbacks.

AI-written summary · about

  1. 0:00Start
  2. 8:18Audio sprites - idea of implementation
  3. 8:45Audio sprites - Hints about files preparation
  4. 10:02Size of files - comparison
  5. 10:51Measurements - sprites
  6. 11:13Measurements - datasets
  7. 14:18Size of files - datasets
  8. 14:41Loading speed factors
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.