Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
142 lines (125 loc) · 5.74 KB
/
Copy pathindex.html
File metadata and controls
142 lines (125 loc) · 5.74 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
<!doctype html>
<html lang="en">
<head>
<title>Browser Synthesizer</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta charset="utf-8">
<link rel="stylesheet" href="dist/bundle.css?v=6s">
</head>
<body>
<div class="container">
<h1 class="text-center hidden-xs">Browser Synthesizer</h1>
<h2 class="text-center visible-xs">Browser Synthesizer</h2>
<h4 class="text-center text-muted">
Press any of the keys shown below on your computer keyboard to trigger a note
</h4>
<div class="row">
<div class="col-sm-12 text-center">
<div class="piano">
<ul>
<li>
<div id="key-C" class="key" data-note="C">A</div>
<div id="key-CS" class="key key-upper" data-note="C#">W</div>
</li>
<li>
<div id="key-D" class="key" data-note="D">S</div>
<div id="key-DS" class="key key-upper" data-note="D#">E</div>
</li>
<li>
<div id="key-E" class="key" data-note="E">D</div>
</li>
<li>
<div id="key-F" class="key" data-note="F">F</div>
<div id="key-FS" class="key key-upper" data-note="F#">T</div>
</li>
<li>
<div id="key-G" class="key" data-note="G">G</div>
<div id="key-GS" class="key key-upper" data-note="G#">Y</div>
</li>
<li>
<div id="key-A" class="key" data-note="A">H</div>
<div id="key-AS" class="key key-upper" data-note="A#">U</div>
</li>
<li>
<div id="key-B" class="key" data-note="B">J</div>
</li>
<li class="hidden-xs">
<div id="key-C1" class="key" data-note="C+1">K</div>
<div id="key-CS1" class="key key-upper" data-note="C#+1">O</div>
</li>
<li class="hidden-xs">
<div id="key-D1" class="key" data-note="D+1">L</div>
<div id="key-DS1" class="key key-upper" data-note="D#+1">P</div>
</li>
<li class="hidden-xs">
<div id="key-E1" class="key" data-note="E+1">Ö</div>
</li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-4 text-center">
<h3 class="hidden-xs">Wave shape</h3>
<h4 class="visible-xs">Wave shape</h4>
<div class="btn-group-vertical">
<button id="waveshape-sine" type="button" class="btn btn-default waveshape" data-waveshape="sine">
<strong class="hidden-xs">1</strong> Sine
</button>
<button id="waveshape-square" type="button" class="btn btn-default waveshape" data-waveshape="square">
<strong class="hidden-xs">2</strong> Square
</button>
<button id="waveshape-sawtooth" type="button" class="btn btn-default waveshape" data-waveshape="sawtooth">
<strong class="hidden-xs">3</strong> Sawtooth
</button>
<button id="waveshape-triangle" type="button" class="btn btn-default waveshape" data-waveshape="triangle">
<strong class="hidden-xs">4</strong> Triangle
</button>
</div>
</div>
<div class="col-xs-6 col-sm-4 text-center">
<h3 class="hidden-xs">Effects chain</h3>
<h4 class="visible-xs">Effects chain</h4>
<div class="btn-group-vertical">
<button id="fx-distortion" type="button" class="btn btn-default effect" data-effect="distortion">
<strong class="hidden-xs">7</strong> Distortion
</button>
<button id="fx-delay" type="button" class="btn btn-default effect" data-effect="delay">
<strong class="hidden-xs">8</strong> Delay
</button>
<button id="fx-reverb" type="button" class="btn btn-default effect" data-effect="reverb">
<strong class="hidden-xs">9</strong> Reverb
</button>
<button id="fx-lowpass" type="button" class="btn btn-default effect" data-effect="lowpass">
<strong class="hidden-xs">0</strong> Lowpass filter
</button>
</div>
</div>
<div class="col-xs-12 col-sm-4 text-center">
<h3 class="hidden-xs">Octave</h3>
<h4 class="visible-xs">Octave</h4>
<div class="btn-group-vertical">
<button type="button" class="btn btn-default octave-control" data-octave-direction="up">
↑
</button>
<span class="btn btn-primary">
<span id="octave">0</span>
</span>
<button type="button" class="btn btn-default octave-control" data-octave-direction="down">
↓
</button>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 text-center">
<a class="github" href="https://github.com/godiagonal/browser-synth">
<img src="images/github.svg">GitHub
</a>
</div>
</div>
</div>
<script src="dist/bundle.js?12fas3sasa4446sfs3"></script>
</body>
</html>