-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
279 lines (257 loc) · 21.9 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
268
269
270
271
272
273
274
275
276
277
278
<!doctype html>
<html>
<head>
<title>Sonant-X Live</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="icons.css" />
<link rel="stylesheet" type="text/css" href="screen.css" />
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
<div id="cover"><div id="dialog"></div></div>
<div id="content">
<table id="guiMaster" class="ui"><tr>
<!-- Song -->
<td id="UItable">
<!-- Logo -->
<div class="sonantLogo">
<a href="https://github.com/nicolas-van/sonant-x-live">
Sonant-X Live
</a>
</div>
<h3>Song</h3>
<div id="newSong" class="button" title="New song"><span class="icon glyphicon glyphicon-file"></span>New</div>
<div id="exportURL" class="button" title="Export song as URL"><span class="icon glyphicon glyphicon-cloud"></span>Get URL</div>
<div id="openSong" class="button" title="Import song in JSON"><span class="icon glyphicon glyphicon-floppy-open"></span>Import JSON</div>
<div id="exportJSON" class="button" title="Export song as JSON"><span class="icon glyphicon glyphicon-floppy-save"></span>Export JSON</div>
<div id="exportWAV" class="button" title="Export song as WAV"><span class="icon glyphicon glyphicon-floppy-save"></span>Export WAV</div>
<div id="exportWAVRange" class="button" title="Export selected range as WAV"><span class="icon glyphicon glyphicon-floppy-save"></span>Range to WAV</div>
<br />
<div id="playSong" class="button" title="Play song"><span class="icon glyphicon glyphicon-play"></span>Play Song</div>
<div id="playRange" class="button" title="Play selected range (SPACE)"><span class="icon glyphicon glyphicon-step-forward"></span>Play Range</div>
<div id="stopPlaying" class="button" title="Stop playing"><span class="icon glyphicon glyphicon-stop"></span>Stop</div>
<br />
<div style="text-align: center">
<input id="bpm" type="text" size="3" value="" title="Beats per minute (song speed)" /> BPM
</div>
<!-- Status (debug etc) -->
<div id="statusText"></div>
</td>
<!-- Sequencer -->
<td>
<h3>Sequencer</h3>
<div><canvas id="playGfxCanvas" width="250" height="71" /></div>
<div id="sequencer" title="Enter pattern numbers, 0-9">
<table class="tracks">
<tr class="beat"><th id="spr0">0</th><td id="sc0r0"> </td><td id="sc1r0"> </td><td id="sc2r0"> </td><td id="sc3r0"> </td><td id="sc4r0"> </td><td id="sc5r0"> </td><td id="sc6r0"> </td><td id="sc7r0"> </td></tr>
<tr><th id="spr1">1</th><td id="sc0r1"> </td><td id="sc1r1"> </td><td id="sc2r1"> </td><td id="sc3r1"> </td><td id="sc4r1"> </td><td id="sc5r1"> </td><td id="sc6r1"> </td><td id="sc7r1"> </td></tr>
<tr><th id="spr2">2</th><td id="sc0r2"> </td><td id="sc1r2"> </td><td id="sc2r2"> </td><td id="sc3r2"> </td><td id="sc4r2"> </td><td id="sc5r2"> </td><td id="sc6r2"> </td><td id="sc7r2"> </td></tr>
<tr><th id="spr3">3</th><td id="sc0r3"> </td><td id="sc1r3"> </td><td id="sc2r3"> </td><td id="sc3r3"> </td><td id="sc4r3"> </td><td id="sc5r3"> </td><td id="sc6r3"> </td><td id="sc7r3"> </td></tr>
<tr class="beat"><th id="spr4">4</th><td id="sc0r4"> </td><td id="sc1r4"> </td><td id="sc2r4"> </td><td id="sc3r4"> </td><td id="sc4r4"> </td><td id="sc5r4"> </td><td id="sc6r4"> </td><td id="sc7r4"> </td></tr>
<tr><th id="spr5">5</th><td id="sc0r5"> </td><td id="sc1r5"> </td><td id="sc2r5"> </td><td id="sc3r5"> </td><td id="sc4r5"> </td><td id="sc5r5"> </td><td id="sc6r5"> </td><td id="sc7r5"> </td></tr>
<tr><th id="spr6">6</th><td id="sc0r6"> </td><td id="sc1r6"> </td><td id="sc2r6"> </td><td id="sc3r6"> </td><td id="sc4r6"> </td><td id="sc5r6"> </td><td id="sc6r6"> </td><td id="sc7r6"> </td></tr>
<tr><th id="spr7">7</th><td id="sc0r7"> </td><td id="sc1r7"> </td><td id="sc2r7"> </td><td id="sc3r7"> </td><td id="sc4r7"> </td><td id="sc5r7"> </td><td id="sc6r7"> </td><td id="sc7r7"> </td></tr>
<tr class="beat"><th id="spr8">8</th><td id="sc0r8"> </td><td id="sc1r8"> </td><td id="sc2r8"> </td><td id="sc3r8"> </td><td id="sc4r8"> </td><td id="sc5r8"> </td><td id="sc6r8"> </td><td id="sc7r8"> </td></tr>
<tr><th id="spr9">9</th><td id="sc0r9"> </td><td id="sc1r9"> </td><td id="sc2r9"> </td><td id="sc3r9"> </td><td id="sc4r9"> </td><td id="sc5r9"> </td><td id="sc6r9"> </td><td id="sc7r9"> </td></tr>
<tr><th id="spr10">10</th><td id="sc0r10"> </td><td id="sc1r10"> </td><td id="sc2r10"> </td><td id="sc3r10"> </td><td id="sc4r10"> </td><td id="sc5r10"> </td><td id="sc6r10"> </td><td id="sc7r10"> </td></tr>
<tr><th id="spr11">11</th><td id="sc0r11"> </td><td id="sc1r11"> </td><td id="sc2r11"> </td><td id="sc3r11"> </td><td id="sc4r11"> </td><td id="sc5r11"> </td><td id="sc6r11"> </td><td id="sc7r11"> </td></tr>
<tr class="beat"><th id="spr12">12</th><td id="sc0r12"> </td><td id="sc1r12"> </td><td id="sc2r12"> </td><td id="sc3r12"> </td><td id="sc4r12"> </td><td id="sc5r12"> </td><td id="sc6r12"> </td><td id="sc7r12"> </td></tr>
<tr><th id="spr13">13</th><td id="sc0r13"> </td><td id="sc1r13"> </td><td id="sc2r13"> </td><td id="sc3r13"> </td><td id="sc4r13"> </td><td id="sc5r13"> </td><td id="sc6r13"> </td><td id="sc7r13"> </td></tr>
<tr><th id="spr14">14</th><td id="sc0r14"> </td><td id="sc1r14"> </td><td id="sc2r14"> </td><td id="sc3r14"> </td><td id="sc4r14"> </td><td id="sc5r14"> </td><td id="sc6r14"> </td><td id="sc7r14"> </td></tr>
<tr><th id="spr15">15</th><td id="sc0r15"> </td><td id="sc1r15"> </td><td id="sc2r15"> </td><td id="sc3r15"> </td><td id="sc4r15"> </td><td id="sc5r15"> </td><td id="sc6r15"> </td><td id="sc7r15"> </td></tr>
<tr class="beat"><th id="spr16">16</th><td id="sc0r16"> </td><td id="sc1r16"> </td><td id="sc2r16"> </td><td id="sc3r16"> </td><td id="sc4r16"> </td><td id="sc5r16"> </td><td id="sc6r16"> </td><td id="sc7r16"> </td></tr>
<tr><th id="spr17">17</th><td id="sc0r17"> </td><td id="sc1r17"> </td><td id="sc2r17"> </td><td id="sc3r17"> </td><td id="sc4r17"> </td><td id="sc5r17"> </td><td id="sc6r17"> </td><td id="sc7r17"> </td></tr>
<tr><th id="spr18">18</th><td id="sc0r18"> </td><td id="sc1r18"> </td><td id="sc2r18"> </td><td id="sc3r18"> </td><td id="sc4r18"> </td><td id="sc5r18"> </td><td id="sc6r18"> </td><td id="sc7r18"> </td></tr>
<tr><th id="spr19">19</th><td id="sc0r19"> </td><td id="sc1r19"> </td><td id="sc2r19"> </td><td id="sc3r19"> </td><td id="sc4r19"> </td><td id="sc5r19"> </td><td id="sc6r19"> </td><td id="sc7r19"> </td></tr>
<tr class="beat"><th id="spr20">20</th><td id="sc0r20"> </td><td id="sc1r20"> </td><td id="sc2r20"> </td><td id="sc3r20"> </td><td id="sc4r20"> </td><td id="sc5r20"> </td><td id="sc6r20"> </td><td id="sc7r20"> </td></tr>
<tr><th id="spr21">21</th><td id="sc0r21"> </td><td id="sc1r21"> </td><td id="sc2r21"> </td><td id="sc3r21"> </td><td id="sc4r21"> </td><td id="sc5r21"> </td><td id="sc6r21"> </td><td id="sc7r21"> </td></tr>
<tr><th id="spr22">22</th><td id="sc0r22"> </td><td id="sc1r22"> </td><td id="sc2r22"> </td><td id="sc3r22"> </td><td id="sc4r22"> </td><td id="sc5r22"> </td><td id="sc6r22"> </td><td id="sc7r22"> </td></tr>
<tr><th id="spr23">23</th><td id="sc0r23"> </td><td id="sc1r23"> </td><td id="sc2r23"> </td><td id="sc3r23"> </td><td id="sc4r23"> </td><td id="sc5r23"> </td><td id="sc6r23"> </td><td id="sc7r23"> </td></tr>
<tr class="beat"><th id="spr24">24</th><td id="sc0r24"> </td><td id="sc1r24"> </td><td id="sc2r24"> </td><td id="sc3r24"> </td><td id="sc4r24"> </td><td id="sc5r24"> </td><td id="sc6r24"> </td><td id="sc7r24"> </td></tr>
<tr><th id="spr25">25</th><td id="sc0r25"> </td><td id="sc1r25"> </td><td id="sc2r25"> </td><td id="sc3r25"> </td><td id="sc4r25"> </td><td id="sc5r25"> </td><td id="sc6r25"> </td><td id="sc7r25"> </td></tr>
<tr><th id="spr26">26</th><td id="sc0r26"> </td><td id="sc1r26"> </td><td id="sc2r26"> </td><td id="sc3r26"> </td><td id="sc4r26"> </td><td id="sc5r26"> </td><td id="sc6r26"> </td><td id="sc7r26"> </td></tr>
<tr><th id="spr27">27</th><td id="sc0r27"> </td><td id="sc1r27"> </td><td id="sc2r27"> </td><td id="sc3r27"> </td><td id="sc4r27"> </td><td id="sc5r27"> </td><td id="sc6r27"> </td><td id="sc7r27"> </td></tr>
<tr class="beat"><th id="spr28">28</th><td id="sc0r28"> </td><td id="sc1r28"> </td><td id="sc2r28"> </td><td id="sc3r28"> </td><td id="sc4r28"> </td><td id="sc5r28"> </td><td id="sc6r28"> </td><td id="sc7r28"> </td></tr>
<tr><th id="spr29">29</th><td id="sc0r29"> </td><td id="sc1r29"> </td><td id="sc2r29"> </td><td id="sc3r29"> </td><td id="sc4r29"> </td><td id="sc5r29"> </td><td id="sc6r29"> </td><td id="sc7r29"> </td></tr>
<tr><th id="spr30">30</th><td id="sc0r30"> </td><td id="sc1r30"> </td><td id="sc2r30"> </td><td id="sc3r30"> </td><td id="sc4r30"> </td><td id="sc5r30"> </td><td id="sc6r30"> </td><td id="sc7r30"> </td></tr>
<tr><th id="spr31">31</th><td id="sc0r31"> </td><td id="sc1r31"> </td><td id="sc2r31"> </td><td id="sc3r31"> </td><td id="sc4r31"> </td><td id="sc5r31"> </td><td id="sc6r31"> </td><td id="sc7r31"> </td></tr>
<tr class="beat"><th id="spr32">32</th><td id="sc0r32"> </td><td id="sc1r32"> </td><td id="sc2r32"> </td><td id="sc3r32"> </td><td id="sc4r32"> </td><td id="sc5r32"> </td><td id="sc6r32"> </td><td id="sc7r32"> </td></tr>
<tr><th id="spr33">33</th><td id="sc0r33"> </td><td id="sc1r33"> </td><td id="sc2r33"> </td><td id="sc3r33"> </td><td id="sc4r33"> </td><td id="sc5r33"> </td><td id="sc6r33"> </td><td id="sc7r33"> </td></tr>
<tr><th id="spr34">34</th><td id="sc0r34"> </td><td id="sc1r34"> </td><td id="sc2r34"> </td><td id="sc3r34"> </td><td id="sc4r34"> </td><td id="sc5r34"> </td><td id="sc6r34"> </td><td id="sc7r34"> </td></tr>
<tr><th id="spr35">35</th><td id="sc0r35"> </td><td id="sc1r35"> </td><td id="sc2r35"> </td><td id="sc3r35"> </td><td id="sc4r35"> </td><td id="sc5r35"> </td><td id="sc6r35"> </td><td id="sc7r35"> </td></tr>
<tr class="beat"><th id="spr36">36</th><td id="sc0r36"> </td><td id="sc1r36"> </td><td id="sc2r36"> </td><td id="sc3r36"> </td><td id="sc4r36"> </td><td id="sc5r36"> </td><td id="sc6r36"> </td><td id="sc7r36"> </td></tr>
<tr><th id="spr37">37</th><td id="sc0r37"> </td><td id="sc1r37"> </td><td id="sc2r37"> </td><td id="sc3r37"> </td><td id="sc4r37"> </td><td id="sc5r37"> </td><td id="sc6r37"> </td><td id="sc7r37"> </td></tr>
<tr><th id="spr38">38</th><td id="sc0r38"> </td><td id="sc1r38"> </td><td id="sc2r38"> </td><td id="sc3r38"> </td><td id="sc4r38"> </td><td id="sc5r38"> </td><td id="sc6r38"> </td><td id="sc7r38"> </td></tr>
<tr><th id="spr39">39</th><td id="sc0r39"> </td><td id="sc1r39"> </td><td id="sc2r39"> </td><td id="sc3r39"> </td><td id="sc4r39"> </td><td id="sc5r39"> </td><td id="sc6r39"> </td><td id="sc7r39"> </td></tr>
<tr class="beat"><th id="spr40">40</th><td id="sc0r40"> </td><td id="sc1r40"> </td><td id="sc2r40"> </td><td id="sc3r40"> </td><td id="sc4r40"> </td><td id="sc5r40"> </td><td id="sc6r40"> </td><td id="sc7r40"> </td></tr>
<tr><th id="spr41">41</th><td id="sc0r41"> </td><td id="sc1r41"> </td><td id="sc2r41"> </td><td id="sc3r41"> </td><td id="sc4r41"> </td><td id="sc5r41"> </td><td id="sc6r41"> </td><td id="sc7r41"> </td></tr>
<tr><th id="spr42">42</th><td id="sc0r42"> </td><td id="sc1r42"> </td><td id="sc2r42"> </td><td id="sc3r42"> </td><td id="sc4r42"> </td><td id="sc5r42"> </td><td id="sc6r42"> </td><td id="sc7r42"> </td></tr>
<tr><th id="spr43">43</th><td id="sc0r43"> </td><td id="sc1r43"> </td><td id="sc2r43"> </td><td id="sc3r43"> </td><td id="sc4r43"> </td><td id="sc5r43"> </td><td id="sc6r43"> </td><td id="sc7r43"> </td></tr>
<tr class="beat"><th id="spr44">44</th><td id="sc0r44"> </td><td id="sc1r44"> </td><td id="sc2r44"> </td><td id="sc3r44"> </td><td id="sc4r44"> </td><td id="sc5r44"> </td><td id="sc6r44"> </td><td id="sc7r44"> </td></tr>
<tr><th id="spr45">45</th><td id="sc0r45"> </td><td id="sc1r45"> </td><td id="sc2r45"> </td><td id="sc3r45"> </td><td id="sc4r45"> </td><td id="sc5r45"> </td><td id="sc6r45"> </td><td id="sc7r45"> </td></tr>
<tr><th id="spr46">46</th><td id="sc0r46"> </td><td id="sc1r46"> </td><td id="sc2r46"> </td><td id="sc3r46"> </td><td id="sc4r46"> </td><td id="sc5r46"> </td><td id="sc6r46"> </td><td id="sc7r46"> </td></tr>
<tr><th id="spr47">47</th><td id="sc0r47"> </td><td id="sc1r47"> </td><td id="sc2r47"> </td><td id="sc3r47"> </td><td id="sc4r47"> </td><td id="sc5r47"> </td><td id="sc6r47"> </td><td id="sc7r47"> </td></tr>
</table>
</div>
<div style="height: 32px"><img id="sequencerCopy" class="smallButton" title="Copy" src="gui/edit-copy.png" width="24" height="24" alt="Copy" /><img id="sequencerPaste" class="smallButton" title="Paste" src="gui/edit-paste.png" width="24" height="24" alt="Paste" /><img id="sequencerPatDown" class="smallButton" title="Pattern down" src="gui/minus-one.png" width="24" height="24" alt="-1" /><img id="sequencerPatUp" class="smallButton" title="Pattern up" src="gui/plus-one.png" width="24" height="24" alt="+1" /></div>
</td>
<!-- Pattern -->
<td>
<h3>Pattern</h3>
<div id="pattern">
<table class="tracks" title="Use the piano or keyboard to enter notes">
<tr class="beat"><th id="ppr0">0</th><td id="pr0"> </td></tr>
<tr><th id="ppr1">1</th><td id="pr1"> </td></tr>
<tr><th id="ppr2">2</th><td id="pr2"> </td></tr>
<tr><th id="ppr3">3</th><td id="pr3"> </td></tr>
<tr class="beat"><th id="ppr4">4</th><td id="pr4"> </td></tr>
<tr><th id="ppr5">5</th><td id="pr5"> </td></tr>
<tr><th id="ppr6">6</th><td id="pr6"> </td></tr>
<tr><th id="ppr7">7</th><td id="pr7"> </td></tr>
<tr class="beat"><th id="ppr8">8</th><td id="pr8"> </td></tr>
<tr><th id="ppr9">9</th><td id="pr9"> </td></tr>
<tr><th id="ppr10">10</th><td id="pr10"> </td></tr>
<tr><th id="ppr11">11</th><td id="pr11"> </td></tr>
<tr class="beat"><th id="ppr12">12</th><td id="pr12"> </td></tr>
<tr><th id="ppr13">13</th><td id="pr13"> </td></tr>
<tr><th id="ppr14">14</th><td id="pr14"> </td></tr>
<tr><th id="ppr15">15</th><td id="pr15"> </td></tr>
<tr class="beat"><th id="ppr16">16</th><td id="pr16"> </td></tr>
<tr><th id="ppr17">17</th><td id="pr17"> </td></tr>
<tr><th id="ppr18">18</th><td id="pr18"> </td></tr>
<tr><th id="ppr19">19</th><td id="pr19"> </td></tr>
<tr class="beat"><th id="ppr20">20</th><td id="pr20"> </td></tr>
<tr><th id="ppr21">21</th><td id="pr21"> </td></tr>
<tr><th id="ppr22">22</th><td id="pr22"> </td></tr>
<tr><th id="ppr23">23</th><td id="pr23"> </td></tr>
<tr class="beat"><th id="ppr24">24</th><td id="pr24"> </td></tr>
<tr><th id="ppr25">25</th><td id="pr25"> </td></tr>
<tr><th id="ppr26">26</th><td id="pr26"> </td></tr>
<tr><th id="ppr27">27</th><td id="pr27"> </td></tr>
<tr class="beat"><th id="ppr28">28</th><td id="pr28"> </td></tr>
<tr><th id="ppr29">29</th><td id="pr29"> </td></tr>
<tr><th id="ppr30">30</th><td id="pr30"> </td></tr>
<tr><th id="ppr31">31</th><td id="pr31"> </td></tr>
</table>
</div>
<div style="height: 32px"><img id="patternCopy" class="smallButton" title="Copy" src="gui/edit-copy.png" width="24" height="24" alt="Copy" /><img id="patternPaste" class="smallButton" title="Paste" src="gui/edit-paste.png" width="24" height="24" alt="Paste" /></div>
<div style="height: 32px"><img id="patternNoteDown" class="smallButton" title="Note down" src="gui/minus-one.png" width="24" height="24" alt="-1" /><img id="patternNoteUp" class="smallButton" title="Note up" src="gui/plus-one.png" width="24" height="24" alt="+1" /></div>
<div style="height: 32px"><img id="patternOctaveDown" class="smallButton" title="Octave down" src="gui/minus-twelve.png" width="24" height="24" alt="-12" /><img id="patternOctaveUp" class="smallButton" title="Octave up" src="gui/plus-twelve.png" width="24" height="24" alt="+12" /></div>
</td>
<!-- Instrument control -->
<td>
<h3>Instrument
<select id="instrPreset" title="Select an instrument preset">
<option value="">(select a preset)</option>
</select>
<button id="exportInstrument"><span class="small-icon glyphicon glyphicon-floppy-save"></span> Export</button>
<button id="importInstrument"><span class="small-icon glyphicon glyphicon-floppy-open"></span> Import</button>
</h3>
<table class="ui">
<!-- Oscillator 1 -->
<tr>
<td>
<h3>Oscillator 1</h3>
<table class="subui">
<tr><td>Wave</td><td>
<img id="osc1_wave_sin" title="Sine" src="gui/wave-sin.png" alt="Sin" style="margin-right: 10px" />
<img id="osc1_wave_tri" title="Triangle" src="gui/wave-tri.png" alt="Tri" style="margin-right: 10px" />
<img id="osc1_wave_saw" title="Saw" src="gui/wave-saw.png" alt="Saw" style="margin-right: 10px" />
<img id="osc1_wave_sqr" title="Square" src="gui/wave-sqr.png" alt="Sqr" />
</td></tr>
<tr><td>Vol</td><td title="Volume"><div class="slider"><img id="osc1_vol" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Oct</td><td title="Octave"><div class="slider"><img id="osc1_oct" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Semi</td><td title="Semitune"><div class="slider"><img id="osc1_semi" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Det</td><td title="Detune"><div class="slider"><img id="osc1_det" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>X-Env</td><td title="Envelope modulates frequency"><img id="osc1_xenv" class="box" src="gui/box-uncheck.png" width="10" height="12" alt="" /></td></tr>
</table>
</td>
<!-- Oscillator 2 -->
<td>
<h3>Oscillator 2</h3>
<table class="subui">
<tr><td>Wave</td><td>
<img id="osc2_wave_sin" title="Sine" src="gui/wave-sin.png" alt="Sin" style="margin-right: 10px" />
<img id="osc2_wave_tri" title="Triangle" src="gui/wave-tri.png" alt="Tri" style="margin-right: 10px" />
<img id="osc2_wave_saw" title="Saw" src="gui/wave-saw.png" alt="Saw" style="margin-right: 10px" />
<img id="osc2_wave_sqr" title="Square" src="gui/wave-sqr.png" alt="Sqr" />
</td></tr>
<tr><td>Vol</td><td title="Volume"><div class="slider"><img id="osc2_vol" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Oct</td><td title="Octave"><div class="slider"><img id="osc2_oct" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Semi</td><td title="Semitune"><div class="slider"><img id="osc2_semi" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Det</td><td title="Detune"><div class="slider"><img id="osc2_det" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>X-Env</td><td title="Envelope modulates frequency"><img id="osc2_xenv" class="box" src="gui/box-uncheck.png" width="10" height="12" alt="" /></td></tr>
</table>
</td>
</tr>
<!-- Noise -->
<tr>
<td>
<h3>Noise</h3>
<table class="subui">
<tr><td>Vol</td><td title="Volume"><div class="slider"><img id="noise_vol" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
</table>
</td>
<!-- Envelope -->
<td>
<h3>Envelope</h3>
<table class="subui">
<tr><td>Master</td><td title="Master volume"><div class="slider"><img id="env_master" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Att</td><td title="Attack"><div class="slider"><img id="env_att" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Sust</td><td title="Sustain"><div class="slider"><img id="env_sust" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Rel</td><td title="Release"><div class="slider"><img id="env_rel" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
</table>
</td>
</tr>
<!-- LFO -->
<tr>
<td>
<h3>LFO</h3>
<table class="subui">
<tr><td>Wave</td><td>
<img id="lfo_wave_sin" title="Sine" src="gui/wave-sin.png" alt="Sin" style="margin-right: 10px" />
<img id="lfo_wave_tri" title="Triangle" src="gui/wave-tri.png" alt="Tri" style="margin-right: 10px" />
<img id="lfo_wave_saw" title="Saw" src="gui/wave-saw.png" alt="Saw" style="margin-right: 10px" />
<img id="lfo_wave_sqr" title="Square" src="gui/wave-sqr.png" alt="Sqr" />
</td></tr>
<tr><td>Amt</td><td title="Amount"><div class="slider"><img id="lfo_amt" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Freq</td><td title="Frequency"><div class="slider"><img id="lfo_freq" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>O1FM</td><td title="Oscillator 1 freq. modulation"><img id="lfo_o1fm" class="box" src="gui/box-uncheck.png" width="10" height="12" alt="" /></td></tr>
<tr><td>FXFreq</td><td title="FX frequency modulation"><img id="lfo_fxfreq" class="box" src="gui/box-uncheck.png" width="10" height="12" alt="" /></td></tr>
</table>
</td>
<!-- FX -->
<td>
<h3>FX</h3>
<table class="subui">
<tr><td>Filt</td><td>
<img id="fx_filt_lp" title="Low pass" src="gui/filt-lp.png" alt="LP" style="margin-right: 10px" />
<img id="fx_filt_hp" title="High pass" src="gui/filt-hp.png" alt="HP" style="margin-right: 10px" />
<img id="fx_filt_bp" title="Band pass" src="gui/filt-bp.png" alt="BP" style="margin-right: 10px" />
<img id="fx_filt_n" title="Notch" src="gui/filt-n.png" alt="Notch" />
</td></tr>
<tr><td> Freq</td><td title="Filter frequency"><div class="slider"><img id="fx_freq" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td> Res</td><td title="Filter resonance"><div class="slider"><img id="fx_res" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Delay</td><td title="Delay amount"><div class="slider"><img id="fx_dly_amt" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td> Time</td><td title="Delay time"><div class="slider"><img id="fx_dly_time" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td>Pan</td><td title="Pan amount"><div class="slider"><img id="fx_pan_amt" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
<tr><td> Freq</td><td title="Pan frequency"><div class="slider"><img id="fx_pan_freq" src="gui/slider.png" width="10" height="12" alt="" /></div></td></tr>
</table>
</td>
</tr>
</table>
<!-- Keyboard -->
<div class="keyboard">
<div class="octaveSelector">
<img id="octaveDown" title="Octave down" alt="<" src="gui/button-prev.png" width="23" height="20" /> <span id="keyboardOctave" title="Octave">5</span> <img id="octaveUp" title="Octave up" alt=">" src="gui/button-next.png" width="23" height="20" />
</div>
<img id="keyboard" src="gui/keyboard.jpg" width="475" height="112" alt="Keyboard" />
</div>
<p class="version-display" style="text-align: right; margin-top: 15px; margin-right: 15px"></p>
</td>
</tr>
</table>
</div>
<script src="./index.js"></script>
</body>
</html>