This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 233
/
index.html
87 lines (75 loc) · 2.75 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Voice-change-O-matic</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link
href="https://fonts.googleapis.com/css?family=Righteous|Nova+Square"
rel="stylesheet"
type="text/css" />
<link href="styles/normalize.css" rel="stylesheet" type="text/css" />
<link href="styles/app.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrapper">
<header>
<h1>Voice-change-O-matic</h1>
</header>
<canvas class="visualizer" width="640" height="100"></canvas>
<form class="controls">
<div>
<label for="voice">Voice setting</label>
<select id="voice" name="voice">
<option value="distortion">Distortion</option>
<option value="convolver">Reverb</option>
<option value="biquad">Bass Boost</option>
<option value="delay">Echo Delay</option>
<option value="off" selected>Off</option>
</select>
</div>
<div>
<label for="visual">Visualizer setting</label>
<select id="visual" name="visual">
<option value="sinewave">Sinewave</option>
<option value="frequencybars" selected>Frequency bars</option>
<option value="off">Off</option>
</select>
</div>
<div>
<a class="mute">Mute</a>
</div>
</form>
</div>
<label for="toggle">❔</label>
<input type="checkbox" id="toggle" />
<aside>
<h2>Information</h2>
<p>Voice-change-O-matic is built using:</p>
<ul>
<li>
<a
href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator.getUserMedia"
>getUserMedia</a
>, which is currently supported in Firefox, Opera (desktop/mobile) and
Chrome (desktop only.) Firefox requires no prefix; the others require
<code>webkit</code> prefixes.
</li>
<li>
<a
href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API"
>Web Audio API</a
>, which is currently supported in Firefox, Chrome, Safari
(desktop/mobile) and Opera (desktop only). Firefox and Opera require
no prefix; Chrome requires <code>webkit</code> prefixes.
</li>
</ul>
<button id="install-btn">Install app</button>
</aside>
<!-- The following element pulls in the script for the default template functionality -->
<script src="scripts/install.js"></script>
<!-- Below is your custom application script -->
<script src="scripts/app.js"></script>
</body>
</html>