Hearing Arena Cooldowns
A phone sits next to your PC speakers while you play arena. When an enemy pops a big offensive cooldown, it says “Run.” When their defensive runs out, it says “Attack.” This page explains how it recognises spells from their sound effects, and how we tested whether that works.
What the phone says
Every spell in the library has a role. The role decides what the phone says and when.
Said immediately. Examples: Recklessness, Combustion, Pillar of Frost, Metamorphosis.
Starts a countdown of the buff's duration and speaks just before it ends. Example: Ice Block lasts 10 s, so the call comes at 9.5 s.
Said immediately when crowd control on a healer is heard. Examples: Polymorph, Cyclone, Fear, Hex.
The app only listens through a microphone and speaks. It never touches the game client, its memory, network traffic or inputs.
1. Collect the real sound files
Each spell page on Wowhead, for example Recklessness, has a Sounds tab that lists the spell's sound kits and links each audio file. The same page lists the buff's Duration, which the “Attack” timer needs.
Pick spells
Two or three per class (40 spells), each tagged threat, defensive or cc.
Open pages by hand
A visible Chrome window loads one page every 4–8 s. If a captcha appears, a person solves it.
Read the page
Sound kits and file URLs come from the Sounds list; duration and cooldown come from Spell Details.
Download
191
.oggclips, up to 8 per spell, saved alongside aharvest.jsonindex.Fingerprint
Each clip becomes a list of landmark hashes. That gives 165 cues; the app ships only the hashes.
What was parsed
- Spells
- 40 across 13 classes (20 threat, 16 defensive, 4 cc), all with at least one cue
- Sound kits · clips downloaded
- 84 kits · 191 clips
- Cues fingerprinted
- 165 (26 looping sounds skipped)
- Landmark hashes
- 165,919
- Defensives with a buff duration
- 16 of 16
- Spells with only spell-specific sounds
- 18 of 40
All 40 spells
| Class | Spell | ID | Role | Clips | Cues | Generic or shared | Duration |
|---|---|---|---|---|---|---|---|
| Warrior | Recklessness | 1719 | threat | 4 | 4 | 1 | 12 seconds |
| Warrior | Avatar | 107574 | threat | 1 | 1 | – | 24 seconds |
| Warrior | Spell Reflection | 23920 | defensive | 1 | 1 | – | 5 seconds |
| Paladin | Avenging Wrath | 31884 | threat | 4 | 4 | – | 20 seconds |
| Paladin | Divine Shield | 642 | defensive | 7 | 7 | 6 | 8 seconds |
| Paladin | Blessing of Protection | 1022 | defensive | 8 | 8 | 7 | 10 seconds |
| Hunter | Trueshot | 288613 | threat | 1 | 1 | – | 15 seconds |
| Hunter | Bestial Wrath | 19574 | threat | 1 | 1 | – | 15 seconds |
| Hunter | Aspect of the Turtle | 186265 | defensive | 2 | 2 | 1 | 8 seconds |
| Rogue | Shadow Blades | 121471 | threat | 2 | 2 | 2 | 12 seconds |
| Rogue | Adrenaline Rush | 13750 | threat | 3 | 3 | – | 15 seconds |
| Rogue | Cloak of Shadows | 31224 | defensive | 5 | 5 | – | 5 seconds |
| Priest | Power Infusion | 10060 | threat | 5 | 5 | – | 15 seconds |
| Priest | Pain Suppression | 33206 | defensive | 5 | 5 | – | 8 seconds |
| Death Knight | Pillar of Frost | 51271 | threat | 8 | 3 | 3 | 12 seconds |
| Death Knight | Anti-Magic Shell | 48707 | defensive | 5 | 5 | – | 5 seconds |
| Death Knight | Icebound Fortitude | 48792 | defensive | 2 | 2 | – | 8 seconds |
| Shaman | Ascendance | 114050 | threat | 8 | 8 | 2 | 15 seconds |
| Shaman | Spirit Link Totem | 98008 | defensive | 4 | 4 | 3 | 6 seconds |
| Mage | Combustion | 190319 | threat | 6 | 5 | – | 10 seconds |
| Mage | Icy Veins | 12472 | threat | 5 | 3 | – | 25 seconds |
| Mage | Ice Block | 45438 | defensive | 2 | 1 | – | 10 seconds |
| Warlock | Summon Infernal | 1122 | threat | 8 | 8 | – | 250 milliseconds |
| Warlock | Summon Darkglare | 205180 | threat | 8 | 8 | 2 | 20 seconds |
| Warlock | Unending Resolve | 104773 | defensive | 8 | 8 | 5 | 8 seconds |
| Monk | Storm, Earth, and Fire | 137639 | threat | 1 | 1 | – | n/a |
| Monk | Touch of Karma | 122470 | defensive | 1 | 1 | 1 | 10 seconds |
| Monk | Life Cocoon | 116849 | defensive | 3 | 2 | 1 | 12 seconds |
| Druid | Celestial Alignment | 194223 | threat | 2 | 2 | 1 | 15 seconds |
| Druid | Berserk | 106951 | threat | 1 | 1 | – | 15 seconds |
| Druid | Barkskin | 22812 | defensive | 8 | 1 | 1 | 8 seconds |
| Demon Hunter | Metamorphosis | 191427 | threat | 4 | 4 | – | n/a |
| Demon Hunter | The Hunt | 370965 | threat | 8 | 4 | 4 | 2 seconds |
| Demon Hunter | Blur | 212800 | defensive | 8 | 8 | 5 | 10 seconds |
| Evoker | Dragonrage | 375087 | threat | 8 | 8 | 8 | 18 seconds |
| Evoker | Obsidian Scales | 363916 | defensive | 8 | 8 | 8 | 12 seconds |
| Mage | Polymorph | 118 | cc | 3 | 3 | 1 | 1 minute |
| Druid | Cyclone | 33786 | cc | 8 | 3 | 3 | 5 seconds |
| Warlock | Fear | 5782 | cc | 7 | 7 | 3 | n/a |
| Shaman | Hex | 51514 | cc | 8 | 8 | 2 | 1 minute |
2. The first matcher didn't work
The first version compared the rough shape of the sound's spectrum (18 mel bands) between live audio and each clip. Arena audio is a dense mix of abilities, footsteps, voice comms and music. Much of it has the same rough spectral shape as many spell sounds, so the matcher either missed spells or kept firing.
| Threshold | Spells caught (clip 6 dB above background) | False calls on plain VOD audio |
|---|---|---|
| 0.86 (default) | 33–35% | ~140 / min |
| 0.93 | 13–18% | ~22 / min |
| 0.96 | 5–8% | ~3 / min |
No threshold worked, so this approach was removed.
3. Landmark fingerprinting
The game plays the same recorded file every time a spell is cast. That makes the problem like identifying a song: the job is to find an exact recording inside noisy audio. The approach Shazam made famous suits this well.
Spectrogram
Mic audio is resampled to 16 kHz and cut into 32 ms frames, one every 8 ms.
Peaks
Keep points louder than everything within ±40 ms and ±188 Hz, at most 4 per frame.
Pairs
Join each peak to up to 6 later peaks within 16–400 ms. Each pair is a hash of (frequency 1, frequency 2, time gap).
Vote
Look up each live hash in the library. A clip is matched when enough hashes agree on one time offset.
The offset vote is what keeps noise out. Background audio produces some peaks that happen to match a clip's hashes, but those hits land at scattered offsets. Only the real sound makes dozens of hashes line up at the same moment. Requiring at least N agreeing hashes (“Min matches”) sets how strict the matcher is.
- Sample rate · FFT · hop
- 16 kHz · 512 points · 8 ms
- Frequency band used
- 125 Hz – 7.25 kHz
- Peak threshold
- 8 dB above the frame average
- Pairing window
- 16–400 ms after, within ±1.5 kHz
- Vote window
- 2.5 s, offsets within ±1 frame
- Repeat handling
- One sound gives one call
The same code (landmark.js) runs in the phone's browser and in the offline test tools, so test results reflect what the phone does.
4. Testing on real arena audio
Injection test: known answers
YouTube VODs don't come with a list of when each spell was cast. To get known answers, we mixed spell clips into real arena VOD audio every 9 seconds at three loudness levels, then counted what came back. The room setting also simulates the phone's path: laptop-speaker band limits, room echo, mic noise and a slight speaker/mic clock mismatch.
| Setup | Caught at +6 / 0 / −6 dB | False calls | Delay after sound starts |
|---|---|---|---|
| Mel matcher (removed) | 33–35% at +6 dB | ~140 / min | — |
| Landmarks, direct mix | 94–100% / 93–100% / 100% | 0.1–0.9 / min | 0.7–0.8 s |
| Landmarks, simulated phone in a room | 58–88% / 46–67% / 50–67% | 0 / min | 0.5–0.6 s |
| Landmarks, clip not in the library | ~11% | — | — |
The last row is the trade-off: landmarks recognise the exact recordings we harvested, and very little else.
A real stream: 7 hours of a Warrior player
We ran the detector over a full 7 h 08 m stream by Bajheera (Fury/Arms Warrior, arena and battlegrounds), which took about 2 minutes. The strongest detections were almost all Recklessness, the streamer's own cooldown. In the last 25 minutes it was detected 7 times, 1:51 to 3:47 apart, which fits its 90-second cooldown.
As an independent check, we measured how closely the raw waveform at each detection matches the Wowhead file (normalized cross-correlation), and compared that with 150 random moments from the same stretch. A real playback of the file should score above every random moment.
| Stream time | Detected | Matching hashes | Waveform match | Best random | Result |
|---|---|---|---|---|---|
| 6:36:59 | Polymorph | 50 | 0.947 | 0.270 | confirmed |
| 6:43:28 | Recklessness | 21 | 0.299 | 0.279 | confirmed |
| 6:46:19 | Recklessness | 19 | 0.348 | 0.279 | confirmed |
| 6:48:08 | Recklessness | 15 | 0.450 | 0.279 | confirmed |
| 6:50:07 | Recklessness | 15 | 0.313 | 0.279 | confirmed |
| 6:53:57 | Recklessness | 12 | 0.279 | 0.279 | likely |
| 6:57:14 | Recklessness | 19 | 0.324 | 0.279 | confirmed |
| 6:51:02 | Fear | 10 | 0.110 | 0.150 | not confirmed |
Detections with 12 or more matching hashes were real. Detections at 10 or fewer were mostly noise: 1,105 of the stream's 1,159 calls had only 8–9 matches, scattered across spells nobody in that stream was casting.
What we learned
- Matching the real sound files works. A spell's actual audio file can be found inside a streamed mix of game audio, voice and music, and an independent waveform test confirms the hits.
- The match bar should be about 12, not 8. At 8 the phone would make about 2.5 false calls a minute on a real stream.
- A sound file doesn't always mean one spell. The Polymorph hit was
PreCastMageLow, a generic mage casting sound. The Recklessness hits matchedSPELL_WR_GladiatorStance_Cast, which Wowhead lists on the Recklessness page. About a third of the library comes from generic precasts or shared effects, and Divine Shield and Blessing of Protection use the same files. - Only harvested recordings are recognised. A sound variant that isn't in the library is caught about 11% of the time.
Next
- Raise the default match bar to about 12 and re-run both tests.
- Keep only sound files that are unique to one spell, and turn generic casting sounds into class-level calls such as “mage casting.”
- Test with a real phone next to real speakers during live play.