-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (29 loc) · 1.21 KB
/
index.html
File metadata and controls
31 lines (29 loc) · 1.21 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
<!doctype html>
<html>
<head>
<title> Bad Interface Design - Harry's Creative Tech Challenge </title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.js"></script>
<link href="https://afeld.github.io/emoji-css/emoji.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<script src="js/pitchdetect.js"></script>
</head>
<body id="page-wrap">
<!-- all websites HTML here -->
<!-- Debugging -->
<!-- <input type="range" min="0" max="100" id="volume" /> -->
<!-- <canvas id="waveform" width="512" height="256"></canvas> -->
<div>
<h1>Try Humming Do-Re-Mi... to change volume</h1>
<button class="button" onclick ="toggleLiveInput()">Change volume <i class="em em-loudspeaker"></i></button>
</div>
<div id="detector" class="vague">
<div class="hide">
<div class="pitch"><span id="pitch">--</span>Hz</div>
<div class="note"><span id="note">--</span></div>
<!-- <canvas id="output" width=300 height=42></canvas> -->
<div id="detune"><span id="detune_amt">--</span><span id="flat">cents ♭</span><span id="sharp">cents ♯</span></div>
</div>
<p><a href="https://github.com/harryhow/So-Bad-Volume-Control">view source</a></p>
</div>
</body>
</html>