-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (40 loc) · 1.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<link rel="stylesheet" href="styles.css" />
<script type="module" src="main.js"></script>
<script type="module" src="visualize.js"></script>
</head>
<body>
<div class="container">
<div id="headerDiv">
<p>Velvet Voice Audio Analysis</p>
</div>
<div id="waveform">
<canvas id="waveformCanvas"></canvas>
</div>
<div id="leftBottomDiv">
<input type="checkbox" id="showResonance" value="Show Resonance" />
<label for="showResonance">Show Resonance</label>
<br />
Levels: <span id="audioLevels"></span>
<br />
Spectral Centroid: <span id="spectralCentroid"></span>
</div>
<div id="centerBottomDiv">
<button>
<img
id="recordButton"
class="micButtonOff"
src="assets/mic.png"
width="25" />
</button>
</div>
</div>
<!-- <script src="./client.js"></script> -->
</body>
</html>