WIP: The MuSiCaL Update #1

Draft
unfunny wants to merge 27 commits from music into master
2 changed files with 9 additions and 7 deletions
Showing only changes of commit 74896961a6 - Show all commits

View File

@@ -25,7 +25,9 @@
} else {
song = "/Music/bgm/" + lines[randint]
}
//could be useful
//window.addEventListener('DOMContentLoaded', newLine);
}
//could be useful
function getSongTitle() {
console.log("song info for", randint)
let titles = ["Another Medium", "CORE", "Death by Glamour", "Studiopolis Act 1 (Lights, Camera, Action!)", "Studiopolis Act 2", "Select a kart", "Creative Exersise", "Monkeys", "Still Alive", "Remix 4", "Main Menu", "24 Hour Cinderella", "The Ruins"]
@@ -33,8 +35,6 @@
console.log(titles[randint], "from ", games[randint])
}
//window.addEventListener('DOMContentLoaded', newLine);
}
//ok, now we actually do stuff
SongRNG()
//just in case the user has autoplay disabled because they probably do

View File

@@ -95,9 +95,10 @@
<a href=/CAT.html> <img src="/cat overlord.png"> </a>
</body>
<script>
function randinte() {
function songmabober() {
//this is actually code from minima and its absolutely NOT made for this BUT WHO CARES????
//@ts-check
randinte:
console.log("yo whatap")
console.log("picking a song...")
let min = 0
@@ -107,10 +108,9 @@
if (randint > max) {
console.warn("number is bigger than ", max)
console.warn("running it back")
randinte()
}
let song = "Music/vault" + randint + ".mid"
songmabober();
}
let song = "/Music/vault" + randint + ".mid"
//randomize the songmabobers
//just in case the user has autoplay disabled because they probably do
MIDIjs.play(song, true);
@@ -140,5 +140,7 @@ if (isplaying == "false") {
console.warn("idk if there be music")
}
}
}
songmabober()
</script>
</html>