summaryrefslogtreecommitdiff
path: root/web/index.html
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2017-11-03 20:35:43 +0200
committerJustin Worthe <justin@worthe-it.co.za>2017-11-03 20:35:43 +0200
commit604f56e2e433d9b941e3054612b5c286120f558a (patch)
tree47f90a0b1f8680905ecaa3129ff8b46f02a06ade /web/index.html
parent669987f0ebd01963d0eb52849fd4f16640350232 (diff)
Added a connection to the microphone through the web, calling into Rust
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/index.html b/web/index.html
index f70f24b..faf637b 100644
--- a/web/index.html
+++ b/web/index.html
@@ -3,5 +3,10 @@
<script src="main.js"></script>
<script src="rusty_microphone.js"></script>
</head>
- <body></body>
+ <body>
+ <p>The current note being played is <span id="pitch-label"></span></p>
+ <p>It is <span id="pitch-error-direction"></span> by <span id="pitch-error"></span> cents</p>
+
+ <canvas id="oscilloscope" width="300" height="300" />
+ </body>
</html>