-
Notifications
You must be signed in to change notification settings - Fork 0
/
staff_test.html
61 lines (60 loc) · 3.18 KB
/
staff_test.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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Mines of MIDIa</title>
<link rel="stylesheet" href="includes/css/music_staff.css">
<!--<script src="includes/shim/Base64.js" type="text/javascript"></script>-->
<script src="includes/shim/Base64binary.js" type="text/javascript"></script>
<script src="includes/shim/WebAudioAPI.js" type="text/javascript"></script>
<script src="includes/shim/WebMIDIAPI.js" type="text/javascript"></script>
<!-- jasmid package -->
<script src="includes/jasmid/stream.js"></script>
<script src="includes/jasmid/midifile.js"></script>
<script src="includes/jasmid/replayer.js"></script>
<!-- midi.js package -->
<script src="includes/midi-js/js/midi/audioDetect.js" type="text/javascript"></script>
<script src="includes/midi-js/js/midi/gm.js" type="text/javascript"></script>
<script src="includes/midi-js/js/midi/loader.js" type="text/javascript"></script>
<script src="includes/midi-js/js/midi/plugin.audiotag.js" type="text/javascript"></script>
<script src="includes/midi-js/js/midi/plugin.webaudio.js" type="text/javascript"></script>
<script src="includes/midi-js/js/midi/plugin.webmidi.js" type="text/javascript"></script>
<script src="includes/midi-js/js/midi/player.js" type="text/javascript"></script>
<!-- utils -->
<script src="includes/midi-js/js/util/dom_request_xhr.js" type="text/javascript"></script>
<!--<script src="includes/midi-js/js/util/dom_request_script.js" type="text/javascript"></script>-->
<!-- includes -->
<script src="includes/js/timer.js" type="text/javascript"></script>
<script src="includes/js/event.js" type="text/javascript"></script>
<script src="includes/js/shared.js" type="text/javascript"></script>
</head>
<body>
<div id="music-staff"></div>
<div style="position: fixed; top: 0; left: 0; z-index: 4; overflow: hidden;" id="colors"></div>
<div id="player" style="">
<div class="player">
<div id="controls">
<input type="image" src="includes/images/pause.png" align="absmiddle" value="pause"
onclick="pausePlayStop()" id="pausePlayStop">
<input type="image" src="includes/images/stop.png" align="absmiddle" value="stop"
onclick="pausePlayStop(true)">
<input type="image" src="includes/images/backward.png" align="absmiddle" value="stop"
onclick="player.getNextSong(-1);">
<input type="image" src="includes/images/forward.png" align="absmiddle" value="stop"
onclick="player.getNextSong(+1);">
</div>
<div class="time-controls">
<span id="time1" class="time">0:00</span>
<span id="capsule">
<span id="cursor"></span>
</span>
<span id="time2" class="time">-0:00</span>
</div>
</div>
<div id="loading" hidden></div>
</div>
<script src="includes/js/jquery-2.2.4.min.js" type="text/javascript"></script>
<script src="includes/js/music_staff.js" type="text/javascript"></script>
<script src="includes/js/player_with_staff_test.js" type="text/javascript"></script>
</body>
</html>