an audio-only horror game
How it's built
A horror game you play with your ears.
EARSHOT is played with headphones on and the screen off. There is nothing to look at, so everything the game has to tell you arrives as a sound with a direction and a distance. This page covers how that is put together, and how each part is checked.
Checked against the source code and a full run of the checks, 23 Oct 2026.
The audio graph for one sound.
Direction, then distance, then the mix; a send taken before the direction step feeds one shared room reverb.
The constraint
No screen, so every piece of information is a direction and a distance.
EARSHOT is played sitting down, somewhere safe, with the phone locked. It will not start through the phone's speaker, because a speaker gives you neither direction nor distance. So every sound answers two questions: where is it, and how far away.
It is written in TypeScript with Expo (React Native), and keeps playing and reading the motion sensors with the screen locked.
Placing a sound
Each sound gets its own small graph: direction, then distance, then a share of the room.
Direction. The audio library has no 3D panner, but it has convolution, so each sound is convolved with a stereo head-related impulse response (HRIR) for its angle. The responses are synthesised: the far ear hears it later and duller, and behind sounds duller than in front, which is how the ear tells front from back. The angle belongs to the room, not to your head. Each sound is placed against your compass heading when it starts, so when you turn, the room stays still.
Distance. Further away is quieter but mostly duller, so distance closes a low-pass filter as well as lowering the level.
Room. Each room has an impulse response synthesised from a short description: the delay before the first reflection, the early reflections, and a tail that decays and loses its treble. Every sound sends into one shared reverb, more as it gets further away, so close sounds are dry and distant ones are mostly room. The send is taken before the direction step, because a room's reverberation has no direction. One reverb serves the whole session, because convolution is the most expensive thing in the graph.
Nothing is cut off. Sounds are loaded before a session starts. A new sound never stops one already playing; each opens with a short ramp, the background loop hands over with a crossfade, and a session ends with a fade. Finished sounds are unwired on the audio clock; an earlier build kept them, and long sessions crashed.
Reading the body
The compass and accelerometer turn freezing, flinching and turning into input. None of it leaves the phone.
No microphone, no location. The compass gives your heading; the accelerometer gives how much you are moving. After each sound the game looks for three reactions in a short window: a freeze (you were moving and stopped), a startle (a sharp spike from stillness, soon after the sound) and a turn (you came round toward it).
The first version scored a player who never reacted as frightened, because ordinary restlessness crosses any line sooner or later. Its check now feeds the meter a simulated player who reacts and one who does not, and fails unless it tells them apart.
A tally of which kinds of sound you reacted to is kept in the save file on the phone, so later sessions can choose what to play. Nothing is sent anywhere.
The director
It decides when, and its job is as much to stop frightening you as to frighten you.
Sustained fear numbs quickly, so the director runs a cycle of quiet, approach, peak and withdrawal, redrawing the lengths and the pace every cycle so you cannot count. A peak ends before it becomes normal. A player whose body has not moved for a while is bored, not frightened, so the quiet is cut short; a player held near the top too long gets a longer withdrawal.
Silence is part of the design. The quiet is where the next scare is built, and every room's scripted timeline is checked for a minimum share of it.
Repetition is avoided by construction. Most sounds have several recordings, dealt like a shuffled deck: every take once before any twice, never the same one back to back. Many are layered from independent strands, so no two land alike. A kind of sound that gets a reaction from you is held back for the turning point of a night; one that never moves you fades toward the back, never to nothing.
Themes. Each of the eleven rooms is a palette plus its own acoustic. The game logic asks for roles, such as a near breath, never for files, and the room decides what each sounds like. A room's name is on the menu but never confirmed in the game; your imagination supplies the rest.
Where the sounds come from
625 files from Freesound, each with a provenance record, processed and checked at the edges.
Every sound comes from Freesound. The licence filter is part of the search: public domain (CC0) first, Creative Commons Attribution only when an entry needs it. Each file gets a provenance record (source, author, licence, date) when it arrives. Of 625 files, 586 are CC0 and 39 are CC BY.
Processing trims each recording to the event, caps its length, folds it to mono, sets its level and fades its edges. Sounds that seemed to cut each other off turned out to end abruptly inside the files. A check now decodes every event sound the app ships and fails on a click at the start or an end that has not reached silence. Today all 612 pass.
The credits page is generated from the provenance records, and a check fails if any CC BY file is missing from it.
Checks that have to fail first
Thirty checks run with one command, and a check is trusted only after it has been seen to fail.
npm run check runs the TypeScript type check and 29 check scripts. Most run the real game code with no phone attached: thousands of simulated hunts, whole director sessions, the audio stage against a stand-in engine that counts live nodes, and every sound file decoded. On 23 October 2026 all 30 passed.
A fix counts once its check has failed with the bug put back. For the long-session crash, putting the bug back left one leaked listener per sound, and the check failed. Once, reverting a fix left its check green: the test was right for the wrong reason, so it was rebuilt.
The lesson came from the test builds. The background score was correct code with green tests, and on a phone it was silent: its energy sat where small earphones reproduce nothing. Nothing in the project had ears. Its check now runs the real generators through a model of a small earphone, and fails if nothing reaches the ear or if the score drowns the game.
No server
No account, no analytics, no server of our own. Apple handles the purchase.
The sounds ship inside the app, and the game code makes no network requests. No account, no analytics SDK, no ads. The one purchase is a one-time unlock through Apple's StoreKit, with no receipt server of our own. If a session ends unexpectedly, a short report stays on the phone unless you choose to share it.
JavaScript fixes arrive as over-the-air updates through Expo's update service; native changes need a new App Store build. With nothing collected, the App Store privacy label is “Data Not Collected” (see the privacy policy).