summaryrefslogtreecommitdiff
path: root/web/index.html
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2017-11-09 20:18:35 +0200
committerJustin Worthe <justin@worthe-it.co.za>2017-11-09 20:18:35 +0200
commitb3f8d2eb9866dc8b4e56e3593b64dae2b313957f (patch)
tree783aa9fd4f5c2aa41dd2d2940edb81da0fd53d95 /web/index.html
parentbb980395891d50845f3f3ce3848ea321f5dc9558 (diff)
Added docs to the complex parts of the rusty microphone javascript
Also refactored some stuff
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/web/index.html b/web/index.html
index ffd1f9a..f705aaa 100644
--- a/web/index.html
+++ b/web/index.html
@@ -5,8 +5,20 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
+ <p>
+ This is a demo for the web build of Rusty Microphone using
+ Emscripten. It requires a browser that supports WebAssembly
+ and the Web Audio API. There may still be some rough edges
+ that need to be refined. If it does not appear to be working,
+ please make sure that you are using the latest version of your
+ web browser, since these technologies are still relatively
+ new.
+ </p>
+
+ <h1>Rusty Microphone</h1>
<div id="rusty-microphone">
- <p>The current note being played is <span id="pitch-label"></span></p>
+
+ <p>The current note being played is <span id="pitch-label">unknown</span></p>
<div id="pitch-indicator-bar-container">
<div id="pitch-indicator-bar"></div>
</div>
@@ -17,7 +29,7 @@
<canvas id="oscilloscope" width="320" height="300"></canvas>
- <p>The current framerate is <span id="frame-rate"></span>FPS</p>
+ <p>The current framerate is <span id="frame-rate">_</span>FPS</p>
</div>
</body>
</html>