-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
110 lines (95 loc) · 2.12 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Tuner</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="scripts/tuner.js"></script>
<script>
window.addEventListener('load', init_tuner, false);
var tuner;
function init_tuner()
{
tuner = new Tuner({});
}
</script>
</head>
<body>
<div class="tuner tuner-ui-debug">
<h2>Tuner Settings</h2>
<table>
<tbody>
<tr>
<td><strong>Base Frequency</strong></td>
<td class="tuner-data base-frequency">--</td>
</tr>
<tr>
<td><strong>Instrument</strong></td>
<td class="tuner-data instrument">--</td>
</tr>
<tr>
<td><strong>Tuning</strong></td>
<td class="tuner-data tuning">--</td>
</tr>
<tr>
<td><strong>Tuning information</strong></td>
<td class="tuner-data tuning-info">--</td>
</tr>
</tbody>
</table>
<h2>Frequency Information</h2>
<table>
<tbody>
<tr>
<td><strong>Frequency (Hz)</strong></td>
<td class="tuner-data frequency">--</td>
</tr>
<tr>
<td><strong>Note Index</strong></td>
<td class="tuner-data note-index">--</td>
</tr>
<tr>
<td><strong>Note</strong></td>
<td class="tuner-data note">--</td>
</tr>
<tr>
<td><strong>Octave</strong></td>
<td class="tuner-data octave">--</td>
</tr>
<tr>
<td><strong>Delta (Hz)</strong></td>
<td class="tuner-data diff">--</td>
</tr>
<tr>
<td><strong>Delta (%)</strong></td>
<td class="tuner-data diff_cents">--</td>
</tr>
</tbody>
</table>
<h2>Tuner Widgets</h2>
<table>
<tbody>
<tr>
<td>
</tbody>
</table>
<h2>Signal Information</h2>
<table>
<tbody>
<tr>
<td><strong>Gain (dB)</strong></td>
<td class="tuner-data gain">--</td>
</tr>
<tr>
<td><strong>Waveform</strong></td>
<td><canvas id="waveform" width="480" height="160"></canvas></td>
</tr>
<tr>
<td><strong>Bar-Graph</strong></td>
<td><canvas id="bargraph" width="480" height="160"></canvas></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>