-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·138 lines (136 loc) · 4.84 KB
/
Copy pathindex.html
File metadata and controls
executable file
·138 lines (136 loc) · 4.84 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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-170120616-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-170120616-1');
</script>
<!-- end of - Google Analytics -->
<title>Spectrogram</title>
<meta charset="utf-8">
<meta name="author" content="Jason Fleischer">
<meta name="description" content="JA spectrogram is a visual representation of the spectrum of frequencies of a signal as it varies with time.">
<meta name='viewport' content='width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no'>
<meta name="theme-color" content="#000"/>
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon.png">
<link rel="stylesheet" href="css/bundle.css">
<link rel="manifest" href="manifest.json">
<link rel="apple-touch-icon" href="img/icon/192.png">
<link rel="apple-touch-icon" sizes="152x152" href="img/icon/152.png">
<link rel="apple-touch-icon" sizes="180x180" href="img/icon/180.png">
<link rel="apple-touch-icon" sizes="167x167" href="img/icon/167.png">
</head>
<body>
<header>
<div id="page_name" class="no_select">Spectrogram</div>
<button id="kofi_button">
<img src="img/kofi.svg" width="25" height="25" alt="Buy Me a Coffee at ko-fi.com" />
<span >Support the Developer</span>
</button>
<button id="info_button" ><img id="info_button_svg" src="img/info_white.svg" width="16" height="19" alt="Info"/></button>
</header>
<div id="alert_container" class="no_select">
<div id="alert">
<div id="alert_header">
<h3 id="alert_title"></h3>
<button id="dismiss_alert_button" ><img height="16" id="dismiss_close_button_svg" src="img/close_white.svg" alt="Dismiss alert"/></button>
</div>
<div id="alert_contents"></div>
</div>
</div>
<main>
<article>
<div id="spectrogram"></div>
</article>
</main>
<aside>
<article>
<table>
<tr>
<button id="start">Click here to begin</button>
<button id="resume" disabled>Play</button>
<button id="pause" disabled>Pause</button>
</tr>
<tr>
<td><label id="max_frequency" for="max_frequency_range">Max Freq</label></td>
<td>
<input type="range" min="2250" max="22050" value="4200" step="50" class="slider" id="max_frequency_range" />
</td>
</tr>
<tr id="is_colored" class="checkbox-row">
<td>
<label id="is_colored_label" for="is_colored_checkbox">Colors</label>
</td>
<td>
<div id="is_colored_checkbox_switch" class="switch">
<input id="is_colored_checkbox" type="checkbox"/>
<span class="switch_track round" tabindex="0"></span>
</div>
</td>
</tr>
<tr>
<td id="fft_size"><label for="fft_size_select">FFT Size</label></td>
<td><select id="fft_size_select">
<option value="32">32</option>
<option value="64">64</option>
<option value="128">128</option>
<option value="512">512</option>
<option value="1024" selected="selected">1024</option>
<option value="2048">2048</option>
<option value="4096">4096</option>
<option value="8192">8192</option>
<option value="16384">16384</option>
<option value="32768">32768</option>
</select></td>
</tr>
</table>
</article>
<article>
<div id="frequency_view"></div>
<br>
<div id="oscilloscope"></div>
</article>
<article>
<table>
<tr id="has_metronome" class="checkbox-row">
<td>
<label id="has_metronome_label" for="has_metronome_checkbox">Metronome</label>
</td>
<td>
<div id="has_metronome_checkbox_switch" class="switch">
<input id="has_metronome_checkbox" type="checkbox"/>
<span class="switch_track round" tabindex="0"></span>
</div>
</td>
</tr>
<tr id="bpm_row">
<td><label id="bpm" for="bpm_range">BPM</label></td>
<td>
<input type="range" min="40" max="208" value="120" step="1" class="slider" id="bpm_range" />
</td>
</tr>
<tr id="metronome_volume_row">
<td><label id="metronome_volume" for="metronome_volume_range">Volume</label></td>
<td>
<input type="range" min="0.05" max="1.0" value="0.5" step="0.01" class="slider" id="metronome_volume_range" />
</td>
</tr>
<tr id="metronome_beat_division_row">
<td id="metronome_beat_division"><label for="metronome_beat_division_select">Time Signature</label></td>
<td><select id="metronome_beat_division_select">
<option value="1">None</option>
<option value="2">2/4</option>
<option value="3">3/4</option>
<option value="4" selected="selected">4/4</option>
</select></td>
</tr>
</table>
</article>
</aside>
<script src="js/bundle.js"></script>
</body>
</html>