Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created May 23, 2017 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/44e315b3349d3aed93acb29856cc5008 to your computer and use it in GitHub Desktop.
Save matthieu-D/44e315b3349d3aed93acb29856cc5008 to your computer and use it in GitHub Desktop.
this.alarm = new AR.Sound("http://soundbible.com/mp3/BOMB_SIREN-BOMB_SIREN-247265934.mp3", {
onLoaded : () => {
AR.logger.debug('sound loaded');
},
onError : () => {
AR.logger.debug('sound not loaded');
},
});
this.alarm.load();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment