-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmicrophone.html
83 lines (83 loc) · 3.54 KB
/
microphone.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Microphone Tester - Hardware Tester</title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/e4807bb23d.js" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="img/favicon.png" type="image/png">
<script src="js/mic.js"></script>
</head>
<body onload="listaudiodevices()">
<div class="header" onclick='window.location.href = "index.html";'>
<h1>Hardware Tester</h1>
</div>
<center>
<nav>
<a class="selected" href="microphone.html">Microphone</a>
<a href="webcam.html">Webcam</a>
<a href="speaker.html">Speakers</a>
<a href="gpu.html">GPU</a>
<a href="controller.html">Controller</a>
<a href="midi.html">MIDI</a>
</nav>
</center>
<center>
<div class="tester">
<div class="left">
<div class="top-left">
<div class='title'><i class="fa-solid fa-microphone"></i> <h1>Microphone</h1></div>
<p>This test requires access to your microphone. If you haven't already, please grant access to your microphone and refresh the page. Try refreshing the page or going into your browser settings to grant access to your microphone.</p>
</div>
<div class="bottom-left">
<label>Select Audio Device:</label>
<select id="audioselector">
</select>
<div class="properties">
<p style="font-weight: 600;font-size: 19px;">Properties</p>
<table style="width:100%;">
<tr>
<td>Channels</td>
<td id="ch">None</td>
</tr>
<tr>
<td>Latency</td>
<td id="la">None</td>
</tr>
<tr>
<td>Sample Rate</td>
<td id="sr">None</td>
</tr>
<tr>
<td>Sample Size</td>
<td id="ss">None</td>
</tr>
<tr>
<td>Auto Gain Control</td>
<td id="agc">None</td>
</tr>
<tr>
<td>Echo Cancellation</td>
<td id="ec">None</td>
</tr>
</table>
</div>
</div>
</div>
<div class="right">
<div class="top-right">
<button id="start">Start Recording</button>
<button id="stop" disabled>Stop Recording</button>
</div>
<div class="bottom-right">
<audio id="audio" controls></audio>
</div>
</div>
</div>
</center>
<div class="footer">
<p>Made with 💚 by <a style="color:#0071e3;text-decoration: underline;" href="https://github.com/v-pun215">v-pun215</a></p>
</div>
</body>
</html>