Created
August 10, 2015 08:04
-
-
Save yajamon/4dbade21f279a8538d47 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
// /index.htm | |
// /event.htm | |
// /dialy.htm | |
// /continue.htm | |
var bgm = new Audio(); | |
function Csound(url){ | |
if (url == "no"){ | |
return; | |
} | |
var baseDir = "sound/sound/"; | |
var extention = ".mp3"; | |
bgm.src = baseDir+url+extention; | |
bgm.load(); | |
bgm.play(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment