-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
65 lines (59 loc) · 3.11 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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spectrum Analyzer</title>
<link rel="stylesheet" href="styles.css">
<!-- open graph tags -->
<meta property="og:title" content="Spectrum Analyzer" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spectrum.polarity.me" />
<meta property="og:image" content="/spectrum-image.png" />
<meta property="og:description" content="Spectrum Analyzer shows the frequency spectrum of the audio signal in real-time. Define an audio input and a threshold to see the frequency spectrum." />
<meta property="og:site_name" content="Polarity Music" />
<meta property="og:locale" content="en_US" />
<meta property="og:locale:alternate" content="en_US" />
<!-- twitter tags -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@polaritymusic" />
<meta name="twitter:title" content="Spectrum Analyzer" />
<meta name="twitter:description" content="Spectrum Analyzer shows the frequency spectrum of the audio signal in real-time. Define an audio input and a threshold to see the frequency spectrum." />
<meta name="twitter:image" content="/spectrum-image.png" />
<!-- general tags -->
<meta name="description" content="Spectrum Analyzer">
<meta name="keywords" content="Spectrum Analyzer, Audio, Visualization">
<meta name="author" content="polarity">
<!-- favicon -->
<link rel="apple-touch-icon" sizes="256x256" href="/icons/spectrum-256.png">
<link rel="icon" type="image/png" sizes="128x128" href="/icons/spectrum-128.png">
<link rel="icon" type="image/png" sizes="64x64" href="/icons/spectrum-64.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/spectrum-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/icons/spectrum-16.png">
<!-- mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
</head>
<body>
<canvas id="analyzer"></canvas>
<div id="controls">
<button id="controls-start-button">Start Audio Analysis</button>
<button id="controls-toggle">Show Controls</button>
<div id="controls-content">
<select id="audioInput"></select>
<!-- UI elements will be added here dynamically -->
</div>
</div>
<div id="content">
<p>Spectrum Analyzer shows the frequency spectrum of the audio signal in real-time. Define an audio input and a threshold for note and frequency labels.</p>
<p>This is a prototype. If you have any feedback, please reach out to me.</p>
</div>
<footer >
<a href="https://bit.ly/3PgbxZz">Support me</a>
| <a href="https://github.com/polarity/app.vectorscope">Github</a>
| <a href="https://polarity.me/">back to my site</a>
| <a href="https://spectrum.polarity.me/">spectrum analyzer</a>
| <a href="https://vectorscope.polarity.me/">vectorscope</a>
</footer>
<script type="module" src="main.js"></script>
</body>
</html>