gunfire

Demonstrates how to use web audio to play short sounds that need to be played precisely when needed, and may require multiple overlapping instances of the sound. Note that the sound must be converted to base64 and be added to your application in the form of a string. The base64 encoding must not contain any line returns, so be careful! Since this string will be large, placing it in its own *.js file and including it in your application (as 'sounds/m4a1.js' is handled in this example) is recommended.

1-2-three
example 36: gunfire