-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
251 lines (212 loc) · 9.29 KB
/
index.html
File metadata and controls
251 lines (212 loc) · 9.29 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link href="assets/images/favicon.ico" rel="icon" type="image/x-icon" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/tunajs/0.4.4/tuna-min.js" type="text/javascript"></script>
<script src="./lib/my_synth.js" type='text/javascript' charset="utf-8"></script>
<link rel="stylesheet" href="style/font_awesome.css">
<link rel="stylesheet" href="style/master.css">
<title></title>
</head>
<body>
<div id='transparent'>
</div>
<div id='logo-container'>
<img id='logo' src='assets/images/cooltext234319494035661.png'></img>
</div>
<section id='key-and-env-container'>
<section id='main-controls'>
<button id='octave-up'>
Octave Up
</button>
<button id='octave-down'>
Octave Down
</button>
<select class='soflow'id='wave-select'>
<option value="sine">sine</option>
<option value="square">square</option>
<option value="sawtooth">saw</option>
<option value="triangle">triangle</option>
</select>
<select class='soflow'id='wave-select-two'>
<option value="sine">sine</option>
<option value="square">square</option>
<option value="sawtooth">saw</option>
<option value="triangle">triangle</option>
</select>
Volume
<input id='gain-setting' type='range' min='0.01' max='1' step='0.01' value='1'>
Oscillator One Volume
<input id='osc-one-gain' type='range' min='0' max='0.1' step='0.01' value='0.1'>
Oscillator Two Volume
<input id='osc-two-gain' type='range' min='0' max='0.1' step='0.01' value='0.1'>
Detune
<input id='detune-settings' type='range' min='0' max='100' step='1' value='1'>
</section>
<div id='instructions'>
<div id='tutorial-header'>
<p>Tutorial</p>
<i class="fa fa-times" id='close' aria-hidden="true"></i>
</div>
<div id='one'>
<div class='image-container'>
<img id='slide-logo' src='assets/images/cooltext234319494035661.png'/>
</div>
<p class='tutorial-text' id='text-one'>Welcome to mySynth! Press the next arrow for a brief explanation of how you can fully enjoy all of mySynth's capabilities.</p>
</div>
<div hidden id='two'>
<p class='tutorial-text' >The letters on the <b>bottom</b> of the display are the <b>keyboard keys</b> used to activate each note. The respective <b>note</b> which will be played is listed at the <b>top</b> of the display. Up to 5 notes playable at a time!</p>
<div class='image-container'>
<img id='image-one' class='instruction-image' src='assets/images/instructions2.jpg'/>
</div>
</div>
<div hidden id='three'>
<p class='tutorial-text' >Each <b>effect</b> can be activated and deactivated with the <b>checkbox</b> on the respective effect box. Once activated experiment with each setting to your hearts content!</p>
<img class='instruction-image' src='assets/images/instructions3.jpg'/>
</div>
<div hidden id='four'>
<p class='tutorial-text' ><b>Waveforms</b> can be changed with with the two <b>dropdowns</b> on the left side of your screen. Different waveforms allow for different tonalities and greatly opens up possibilties for different sounds.</p>
<img class='instruction-image' src='assets/images/instructions4.jpg'/>
</div>
<div hidden id='five'>
<p class='tutorial-text' ><b>Presets</b> are available to immediately showcase some of the sounds that mySynth is capable of.</p>
<img class='instruction-image' src='assets/images/instructions6.jpg'/>
</div>
<div hidden id='six'>
<img id='slide-logo' src='assets/images/cooltext234319494035661.png'/>
<p class='tutorial-text' id='text-six'>If you dont know what everything is, thats OK! mySynth is all about learning and experimentation. There are no wrong synth sounds!</p>
</div>
<div id='next-and-prev'>
<span id='prev'>
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</span>
<span id='next'>
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</span>
</div>
</div>
<section id='keyboard-background' class='darken'>
<div id='keyboard-container'>
Keyboard!
</div>
<div id='preset-title'>Presets:</div>
<ul id='preset-list'>
<li id='preset-1'>Invaders</li>
<li id='preset-2'>Angry Machine</li>
<li id='preset-3'>Echoes</li>
<li id='init'>Default</li>
</ul>
</section>
<section id='envelope-settings'>
<span class='effect-title'>Envelope</span>
<span>
<p>Attack</p>
<input data-degree-range='180' class='envelope' data-degree-offset='0' id='attack-slider' type='range' min='0' max='2000' step='1' value='0'>
</input>
</span>
<span>
<p>Decay</p>
<input id='decay-slider' class='envelope' type='range' min='0' max='2000' step='1' value='1000'>
</input>
</span>
<span>
<p>Sustain</p>
<input id='sustain-slider' class='envelope' type='range' min='0' max='1' step='0.05' value='1'>
</input>
</span>
</section>
</section>
<section id='canvas-container'>
<canvas id="oscilloscope" width="1000px" height="100"></canvas>
</section>
<form>
<section id='effect-settings'>
<section id='delay-settings'>
<span class='effect-title'>Delay</span>
Delay Time
<input id='delay-slider' type='range' min='0' max='1' step='0.01' value='0'>
Feedback delay
<input id='delay-feedback-slider' type='range' min='0' max='0.80' step='0.01' value='0'>
Wet
<input id='delay-wet-slider' type='range' min='0' max='1' step='0.01' value='0'>
<section class='active-check'>
Active
<input id='delay-toggle' type="checkbox">
</section>
</input>
</section>
<section id='phaser-settings'>
<span class='effect-title'>Phaser</span>
Phaser Depth
<input id='phaser-depth' type='range' min='0' max='1' step='0.01' value='0'>
Phaser feedback
<input id='phaser-feedback' type='range' min='0' max='1' step='0.01' value='0'>
Phaser Rate
<input id='phaser-rate' type='range' min='0' max='8' step='0.1' value='0'>
Phaser Stereo
<input id='phaser-stereo' type='range' min='0' max='180' step='1' value='0'>
<section class='active-check'>
Active
<input type='checkbox' id='phaser-toggle'>
</section>
</input>
</section>
<section id='overdrive-settings'>
<span class='effect-title'>Overdrive</span>
Drive
<input id='overdrive-drive-slider' type='range' min='0.01' max='1' step='0.01' value='0.01'>
Output Gain
<input id='overdrive-output-slider' type='range' min='0.01' max='1' step='0.01' value='0.01'>
Curve Amount
<input id='overdrive-curve-slider' type='range' min='0.01' max='1' step='0.01' value='0.01'>
<select class='soflow'id='drive-type'>
<option value='0'>0</option>
<option value='1'>1</option>
<option value='2'>2</option>
<option value='3'>3</option>
<option value='4'>4</option>
<option value='5'>5</option>
</select>
<section class='active-check'>
Active
<input type="checkbox" id='overdrive-toggle'>
</section>
</input>
</section>
<section id='reverb-settings'>
<span class='effect-title'>Reverb</span>
Wet
<input id='reverb-wet-slider' type='range' min='0' max='1', step='0.05'>
</input>
<section class='active-check'>
Active
<input type='checkbox' id='reverb-toggle'>
</section>
</section >
<section id='filter-settings'>
<span class='effect-title'>Filter</span>
Cutoff
<input id='filter-cutoff-slider' type='range' min='20' max='20000' step='1' value='440'>
Q
<input id='filter-Q-slider' type='range' min='1' max='100' step='0.01' value='1'>
Gain
<input id='filter-gain-slider' type='range' min='0.001' max='3.4028234663852886' step='0.1' value='3.4028234663852886'>
Filter Type
<select class='soflow' id='filter-type-dropdown'>
<option value='lowpass'>lowpass</option>
<option value='highpass'>highpass</option>
<option value='bandpass'>bandpass</option>
<option value='lowshelf'>lowshelf</option>
<option value='highshelf'>highshelf</option>
<option value='peaking'>peaking</option>
<option value='notch'>notch</option>
<option value='allpass'>allpass</option>
</select>
</section>
</form>
</section>
</body>
</html>