-
Notifications
You must be signed in to change notification settings - Fork 19
/
index00.html
178 lines (160 loc) · 13 KB
/
index00.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:url" content="https://ryoyakawai.github.io/smfplayer/index.html" />
<link rel="manifest" href="./manifest.json">
<meta property="og:title" content="SMFPlayer" />
<meta property="og:image" content="https://ryoyakawai.github.io/smfplayer/images/smfplayer-144x144.png" />
<meta property="og:description" content="This application is Standard MIDI File player on the Web. Even works on offline!" />
<meta property="og:site_name" content="SMFPlayer" />
<link rel="stylesheet" href="assets/css/bootstrap.css">
<link rel="stylesheet" href="css/sticky-footer-navbar.css">
<style type="text/css">
body { padding-top: 50px; }
.toparea { margin: 10px 0px;}
.tab-pane { margin: 20px; }
.divInputArea{ margin: 2px 0px 2px 0px;}
.floatLeft{ float: Left; }
.clearBoth{ clear: both; }
.indicator{ margin: 4px 2px;}
.midiLabel{ margin: 4px 0px;}
</style>
<title>Standard MIDI File Plyer</title>
</head>
<body>
<script>
if (window.location.protocol !== 'https:' && window.location.hostname!='localhost') {
window.location = 'https://' + window.location.hostname + window.location.pathname + window.location.hash;
}
</script>
<div id="wrap" style="margin-top:0px;">
<div class="navbar navbar-default navbar-fixed-top" id="navbar.bs">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Standard MIDI File Player</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/ryoyakawai/smfplayer"><img class="gh-image" src="images/Logos-Github-icon.png" width="20px"> Fork me on GitHub</a></li>
</ul>
</div>
</div>
</div>
<div class="container" style="width:680px; padding:10px 0px 20px 0px; border: 0px #000000 solid;">
<div id="midiplayer">
<div style="float:right; width:60px; margin:12px 0px 0px 5px;"><button type="button" class="btn btn-warning" style="height:60px;visibility:hidden; opacity:0; transition:0.5s;" id="panic">Panic</button></div>
<div class="divInputArea" style="width:610px; padding:0px 0px 0px 10px; margin:0px 0px 10px 0px;">
<div style="padding:5px 0px 10px 0px;"><span class="label label-default">Select MIDI Output Device</span></div>
<div class="input-group input-group">
<span class="input-group-addon"><span id="midiinicon" class="glyphicon glyphicon-log-out"></span></span>
<select id="midiOutSel" type="text" class="form-control input"></select>
<span class="input-group-btn">
<button class="btn btn-primary" id="midiOutSelB" type="button" disabled="disabled">Select</button>
</span>
</div><!-- /.input-group .input-group -->
<div style="width:10px;"></div>
</div>
<div id="webmidilink"></div>
<div id="whiteout" style="position:absolute; width:680px; height:680px; background:rgba(255, 255, 255, 0.9); paddingn:5px; z-index:2; border-radius:5px; transition:0.5s;">
<div style="position:absolute; left:100px; top:50px; font-size:1.5em; font-weight:bold; padding:8px; border-radius:3px; color:#E0F7FA; background-color:#006064; box-shadow:rgba(113, 135, 164, 0.65098) 0px 0px 6px 3px;">Select MIDI Output Device from list above.</div>
</div>
<div style="padding:10px;">
<div id="filedroparea" class="divInputArea" style="margin:0px 0px 10px 0px; display:block;">
<div style="padding:0px 0px 10px 0px;"><span class="label label-default">File Drop Area</span></div>
<div id="dropArea" class="divInputArea" style="width:300px; margin:0 auto; padding:5px;">
<div><input type="file" id="fileimport" class="form-control" name="files[]" style="width:290px; margin:0px 10px 0px 0px; "></div>
<select id="midiFileList" size="5" style="width:290px; border-radius:5px; padding:3px; border-color:#dddddd;"></select>
<div style="padding-left:20px;">^^ Drop standard midi file above. ^^</div>
</div>
<div style="margin: 0px auto; width:200px; border:0px solid #000;">
<span class="btn-group">
<button type="button" class="btn btn-default" id="midizero"><span class="glyphicon glyphicon-fast-backward"></span></button>
<button type="button" class="btn btn-default" id="midibackward"><span class="glyphicon glyphicon-backward"></span></button>
<button type="button" class="btn btn-default" id="midistart"> <span id="midistartB" class="glyphicon glyphicon-play"></span></button>
<button type="button" class="btn btn-default" id="midiforward"><span class="glyphicon glyphicon-forward"></span></button>
<button type="button" class="btn btn-default" id="midifadeout"><span class="glyphicon glyphicon-import"></span></button>
</span>
</div>
</div>
<div id="statusmonitor" style="clear:both; margin:0px 0px 20px 0px; display:block;">
<div style="padding:0px 0px 14px 0px;"><span class="label label-default">Status Monitor</span></div>
<div style="margin:0px auto; border:0px solid #000000; width:600px;">
<div class="floatLeft indicator"><h4 style="margin:0px 0px 0px 25px;"><span class="label label-default" style="position:relative; top:-4px; background-color:#eeeeee; border:1px solid #cccccc; color:#999999;"><span class="glyphicon glyphicon-off"></span></span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin1" class="label label-success">1</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin2" class="label label-success">2</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin3" class="label label-success">3</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin4" class="label label-success">4</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin5" class="label label-success">5</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin6" class="label label-success">6</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin7" class="label label-success">7</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin8" class="label label-success">8</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin9" class="label label-success">9</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin10" class="label label-success">10</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin11" class="label label-success">11</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin12" class="label label-success">12</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin13" class="label label-success">13</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin14" class="label label-success">14</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin15" class="label label-success">15</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiin16" class="label label-success">16</span></h4></div>
<br class="clearBoth">
<div class="floatLeft indicator"><h4 style="position:relative; top:-4px; margin: 0px 0px 0px 25px;" style="margin-top:0px;"><span class="label label-default" style="background-color:#eeeeee; border:1px solid #cccccc;"><span class="glyphicon glyphicon-log-out" style="color:#5bc0de;"></span></span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout1" class="label label-default">1</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout2" class="label label-default">2</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout3" class="label label-default">3</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout4" class="label label-default">4</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout5" class="label label-default">5</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout6" class="label label-default">6</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout7" class="label label-default">7</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout8" class="label label-default">8</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout9" class="label label-default">9</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout10" class="label label-default">10</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout11" class="label label-default">11</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout12" class="label label-default">12</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout13" class="label label-default">13</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout14" class="label label-default">14</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout15" class="label label-default">15</span></h4></div>
<div class="floatLeft indicator"><h4 style="margin:0px;"><span id="midiout16" class="label label-default">16</span></h4></div>
</div>
</div>
<br class="clearBoth">
<div id="eventmonitor" style="display:block;">
<div style="padding:0px 0px 10px 0px;"><span class="label label-default">Event Monitor</span></div>
<div id="recvMsg" class="divInputArea" style="width: 580px; height:320px; padding: 6px; border: 1px solid #0f0f0f; border-radius:5px;word-wrap:break-word; overflow: auto; font-family:Courier, monospace; background-color:#000; margin:0px auto;"></div>
</div>
</div><!-- /.midiplayer -->
</div><!-- /.container -->
</div><!-- /#whiteout -->
</div><!-- /.wrap -->
<div id="footer">
<div class="container">
<p class="text-muted credit">
<span id="fv" style="visibility:hidden;"></span><span style="float:right; margin-right:15px;">Developed by <a href="https://www.google.com/+RyoyaKAWAI" target="_blank">Ryoya KAWAI</a>.</span>
</p>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="assets/js/jquery.js"></script>
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/smfParser.js"></script>
<script type="text/javascript" src="js/smfPlayer.js"></script>
<script type="text/javascript" src="js/webmidilinkSender.js"></script>
<script type="text/javascript" src="js/app00.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-35804975-1', 'github.com');
ga('send', 'pageview');
</script>
</body>
</html>