Inspiration
What if you could get to know a place by ear before you ever set foot in it? We designed SonarSight to help blind and low-vision people explore a building’s layout before a visit. That same idea also led to EchoCrypt, a game where sound helps you find your way through the dark and helps the wraiths find you.
What it does
EchoCrypt is a stealth horror game. A clap briefly reveals the walls, but nearby wraiths can hear it. Sneak through the crypt, throw stones to distract them, and find the key and the exit. SonarSight is a keyboard-operable building preview with screen-reader announcements and an optional blackout mode. Listen to landmarks, walk through a virtual floor plan, and test whether you can point toward a place from memory.
How we built it
Both apps use EchoCore, a TypeScript SDK that computes direction, distance, and how much walls muffle sound from a 2D floor plan. Web Audio renders the binaural cues, and Canvas draws the sonar pulses. Both apps run in the browser without a backend. We used Kiro specs to define the shared audio rules. One rule says a sound should never get louder as it moves farther away or passes through more walls. A property-based test checks that rule across generated cases, and a Kiro hook reruns the core tests whenever a core source file is saved.
Challenges we ran into
In a small room, reflections arrive too close together to work as distinct echoes. We kept the layout geometry accurate and tuned the timing, pitch, and muffling to make individual cues easier to distinguish.
Accomplishments that we're proud of
The same SDK helps someone locate a reception desk in SonarSight and lets a wraith hear a thrown stone in EchoCrypt. We deployed both apps and published the shared SDK to npm.
What we learned
Front and back can sound similar through headphones. Letting people turn toward a landmark and listen again gives them a way to check what they heard. The pointing exercise gives them a way to test what they remember.
What's next for EchoCore
Try SonarSight’s Learn, Walk, and Test flow with blind and low-vision users, then refine the audio cues and screen-reader announcements based on their feedback.
Built With
- 2d
- api
- audio
- canvas
- fast-check
- github
- kiro
- typescript
- vite
- vitest
- web