This is a simple demonstration of the sounts library, using web audio for positional sounds. Move the zombie (the audio listener) with your arrow keys. The objects left and right are SoundSources and the left one has an inner and outer cone specified. Check out the example source-code.