Massimiliano Marcon (@mmarcon)
Simon Madine (@thingsinjars)
May 8, 2012
Game - City Exploration Experience
All about being on the edge: only Chrome support, even better with Canary
Mixes maps, geolocated environmental sounds, events information and images for a full exploration experience
As the user moves the flying hamster around we set the listener position (lat, lon) and orientation (radians) into our Audio object.
When the user requests sounds the application pulls sounds (via XHR) from Freesound for the viewport bounding-box and events from LastFM located around the center of the map. If there are events we retrieve the corresponding mp3 from Deezer.
The Web Audio API takes care of playing sounds based on location and orientation of the listener.