Created
May 23, 2017 14:44
-
-
Save matthieu-D/44e315b3349d3aed93acb29856cc5008 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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