-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
67 lines (52 loc) · 2.98 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Piano Hero</title>
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
-->
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<link rel="stylesheet" type="text/css" href="style.css">
<!-- polyfill: base64 para byte -->
<script src="inc/shim/Base64.js" type="text/javascript"></script>
<script src="inc/shim/Base64binary.js" type="text/javascript"></script>
<script src="inc/shim/WebAudioAPI.js" type="text/javascript"></script>
<!-- midi.js package: ler midi -->
<script src="js/midi/audioDetect.js" type="text/javascript"></script>
<script src="js/midi/gm.js" type="text/javascript"></script>
<script src="js/midi/loader.js" type="text/javascript"></script>
<script src="js/midi/plugin.audiotag.js" type="text/javascript"></script>
<script src="js/midi/plugin.webaudio.js" type="text/javascript"></script>
<script src="js/midi/plugin.webmidi.js" type="text/javascript"></script>
<!-- <script src="js/midi/player.js" type="text/javascript"></script>
-->
<!-- utils: para solicitacao assincrona -->
<script src="js/util/dom_request_xhr.js" type="text/javascript"></script>
<script src="js/util/dom_request_script.js" type="text/javascript"></script>
<!-- jasmid: para ler arquivo midi -->
<script src="inc/jasmid/stream.js"></script>
<script src="inc/jasmid/midifile.js"></script>
<script src="inc/jasmid/replayer.js"></script>
<script src="inc/jasmid/synth.js"></script>
<script src="inc/jasmid/audio.js"></script>
<script src='songs.js'></script>
</head>
<body class="noBorder">
<div id='menuContainer'>
<div onclick="selectSong(0)" onmouseenter="console.log('enter')"><img src='img/adventure-time.png'/></div>
<div onclick="selectSong(1)"><img src='img/dragon-ball-z.png'/></div>
<div onclick="selectSong(2)"><img src='img/gravity-falls.png'/></div>
<div onclick="selectSong(3)"><img src='img/my-little-poney.png'/></div>
<div onclick="selectSong(4)"><img src='img/power-rangers.png'/></div>
<div onclick="selectSong(5)"><img src='img/south-park.png'/></div>
<div onclick="selectSong(6)"><img src='img/the-simpsons.png'/></div>
</div>
<div class="gameContainer" id="gameContainer">
<canvas class="gamePianotitle" id="gameCanvas" onclick="gameMouseClick(event)"></canvas>
<img src="img/replay.png" id="replay" class="replay">
<img src="img/music.png" id="music" class="music">
</div>
<script src='game.js'></script>
<script src='music.js'></script>
</body>
</html>