-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
267 lines (266 loc) · 11.3 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
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- icon file -->
<link rel="icon" href="assets/favicon/fav.png">
<title>Spongify</title>
<!-- bootstrap css -->
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<!-- font awesome css -->
<link href="assets/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- data table plugin css-->
<link href="https://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css" >
<!-- custom css -->
<link rel="stylesheet" type="text/css" href="assets/custom/css/custom.css">
</head>
<body>
<!-- welcome section starts -->
<div class="container welcome-screen">
<div class="row">
<div class="col-sm-12">
<h1 class="welcom-heading">Welcome to Songify</h1>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<h3 class="welcom-heading"> Enter name to access your account </h3>
</div>
</div>
<div class="row">
<div class="col-sm-9 welcome-input">
<input type="text" placeholder="Name" id="name-input">
</div>
<div class="col-sm-3 pull-left welcome-input">
<button ><strong>Go</strong> </button>
</div>
</div>
</div>
<!-- welcome section ends -->
<!-- playlist section starts -->
<div class="container main hidden">
<!-- user name section starts-->
<div class="row display-user-name">
<div class="col-sm-6 ">
<button id="virtual-keyboard-btn" >Activate Virtual Keyboard Mode</button>
</div>
<div class="col-sm-6 ">
<p class="pull-right user-name"></p>
</div>
</div>
<!-- user name section ends-->
<!-- song playlist section starts-->
<div class="row content" >
<div class="col-sm-1"></div>
<div class="col-sm-10 table-responsive">
<table class="table table-hover" id="song-playlist">
<thead>
<tr class="song-list-header">
<th>Title</th>
<th>Artist</th>
<th>Album</th>
<th>Duration</th>
</tr>
</thead>
<tbody>
<tr class="song active" id="song1">
<td class="name"></td>
<td class="artist"></td>
<td class="album"></td>
<td class="duration"></td>
</tr>
<tr class="song" id="song2">
<td class="name"></td>
<td class="artist"></td>
<td class="album"></td>
<td class="duration"></td>
</tr>
<tr class="song" id="song3">
<td class="name"></td>
<td class="artist"></td>
<td class="album"></td>
<td class="duration"></td>
</tr>
<tr class="song" id="song4">
<td class="name"></td>
<td class="artist"></td>
<td class="album"></td>
<td class="duration"></td>
</tr>
<tr class="song" id="song5">
<td class="name"></td>
<td class="artist"></td>
<td class="album"></td>
<td class="duration"></td>
</tr>
</tbody>
<tr>
<td>
<input type="text" placeholder=" Song Name" id="add-song-name">
</td>
<td>
<input type="text" placeholder=" Artist Name" id="add-song-artist">
</td>
<td>
<input type="number" placeholder=" Song Duration" id="add-song-duration">
</td>
<td>
<button id="add-song">Add Song</button>
</td>
</tr>
</table>
</div>
<div class="col-sm-1"></div>
</div>
<!-- song playlist section ends-->
<!-- current song details section starts -->
<div class="row song-details-section">
<div class="col-md-3 hidden" id="voice-commands" >
<ul>
<li>PLAY</li>
<li>STOP</li>
<li>NEXT</li>
<li>PREVIOUS</li>
<li>PAUSE</li>
</ul>
</div>
<div class="col-md-2 col-md-offset-3 current-song-image">
<img src="" id="current-song-image" width="200px" height="141px">
</div>
<div class="col-md-4 song-details">
<div class="row">
<div class="col-md-12 current-song-name">
</div>
</div>
<div class="row">
<div class="col-md-12 current-song-artist">
</div>
</div>
<div class="row">
<div class="col-sm-12 song-play-pannel">
<audio src="songs/song1.mp3" controls="" class="song-play" id="player"></audio>
</div>
</div>
</div>
</div>
<!-- current song details section starts -->
<!-- song controls section starts-->
<div class="row footer" >
<div class="col-sm-12 controls">
<i class="fa fa-microphone-slash clickable disabled" id="play-microphone" aria-hidden="true"></i>
<i class="fa fa-random clickable disabled" id="random-play" aria-hidden="true"></i>
<i class="fa fa-step-backward clickable" id="backward-play" aria-hidden="true"></i>
<i class="fa fa-play clickable " id="play-icon" aria-hidden="true"></i>
<i class="fa fa-step-forward clickable" id="forward-play" aria-hidden="true"></i>
<i class="fa fa-repeat disabled clickable" id="repeat-play" aria-hidden="true"></i>
<i class="fa fa-volume-off disabled clickable" id="play-volume" aria-hidden="true"></i>
<input type="range" min=0 max=1 step=0.1 value='1' class="volume-slider" id="volume-slider">
</div>
<div class="progress-wrapper col-sm-12">
<div class="row">
<div class="col-sm-3 time-elapsed">
</div>
<div class="col-sm-6 player-progress">
<progress id="song-progress-bar" value="0" max="1"></progress>
</div>
<div class="col-sm-3 song-duration">
</div>
</div>
</div>
</div>
<!-- song control section ends-->
</div>
<!-- playlist section ends -->
<!-- keyboard section starts -->
<div class="container keyboard-panel hidden">
<!-- user name section starts-->
<div class="row display-user-name">
<div class="col-sm-4 ">
<button id="return-playlist-btn" >Return To Playlist Mode</button>
</div>
<div class="col-sm-4 ">
<p class="keyboard-section-header">Virtual Keyboard</p>
</div>
<div class="col-sm-4 ">
<p class="pull-right user-name"></p>
</div>
</div>
<!-- user name section ends-->
<!-- keyboard keys starts-->
<div class="row piano-background">
<div class="col-md-1"></div>
<div class="table-responsive col-md-10">
<table class="table keyboard-keys">
<tbody>
<tr>
<td><button id="2"></button></td>
<td><button id="3"></button></td>
<td><button id="5"></button></td>
<td><button id="6"></button></td>
<td><button id="7"></button></td>
<td><button id="9"></button></td>
<td><button id="0"></button></td>
<td><button id="Equal"></button></td>
<td><button id="Coma"></button></td>
</tr>
<tr>
<td><button id="A"></button></td>
<td><button id="S"></button></td>
<td><button id="F"></button></td>
<td><button id="G"></button></td>
<td><button id="J"></button></td>
<td><button id="K"></button></td>
<td><button id="L"></button></td>
<td><button id="LBracket"></button></td>
<td><button id="RBracket"></button></td>
</tr>
<tr>
<td><button id="Q"></button></td>
<td><button id="W"></button></td>
<td><button id="E"></button></td>
<td><button id="R"></button></td>
<td><button id="T"></button></td>
<td><button id="Y"></button></td>
<td><button id="U"></button></td>
<td><button id="I"></button></td>
<td><button id="O"></button></td>
</tr>
<tr>
<td><button id="P"></button></td>
<td><button id="Z"></button></td>
<td><button id="X"></button></td>
<td><button id="C"></button></td>
<td><button id="V"></button></td>
<td><button id="B"></button></td>
<td><button id="N"></button></td>
<td><button id="M"></button></td>
<td><button id="Dot"></button></td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-1"></div>
</div>
<div class="keyboard-note row">
<div class="col-sm-12">
<h1><strong>Enjoy The Music <small>CAPS ON*</small></strong></h1>
<button class="minus-key-notes "><i class="fa fa-minus-square fa-2x" aria-hidden="true"></i></button>
<button class="plus-key-notes "><i class="fa fa-plus-square fa-2x" aria-hidden="true"></i></button>
</div>
</div>
<!-- keyboard keys ends-->
</div>
<!-- keyboard section ends -->
<!-- jquery file -->
<script src="assets/jquery/jquery-3.2.1.min.js"></script>
<!-- bootstrap js -->
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<!-- datatable plugin js-->
<script src="https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js"></script>
<!-- keyboard sound js -->
<script src="audiosynth-master/audiosynth.js"></script>
<!-- custom js file -->
<script src="assets/custom/js/custom.js"></script>
</body>
</html>