-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
34 lines (32 loc) · 1.55 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Piano on the Web</title>
<script src="/socket.io/socket.io.js"></script>
<link href="/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/4.0.0/github-markdown.min.css" integrity="sha512-Oy18vBnbSJkXTndr2n6lDMO5NN31UljR8e/ICzVPrGpSud4Gkckb8yUpqhKuUNoE+o9gAb4O/rAxxw1ojyUVzg==" crossorigin="anonymous" />
</head>
<body class="markdown-body">
<script src="https://cdnjs.cloudflare.com/ajax/libs/tone/14.7.52/Tone.js">
</script>
<div>
<h1>Global piano</h1>
<p>Hey there! This site allows you to make music like you would on any piano! Let's make some noise!</p>
<p>Click the <kbd>S</kbd> key to make a play the C note, then <kbd>D</kbd> to make D4 and so on up until B4 with the <kbd>K</kbd> key.
<p>To move up and down the piano, click <kbd>⬅︎</kbd> and <kbd>⮕</kbd>. Your current section is <kbd id="sectionNo">4</kbd>
</p>
<p>Not hearing anything? You need to play a key to join!</p>
</div>
<div id="piano">
<span class="key" id="C"><strong>C</strong></span>
<span class="key" id="D"><strong>D</strong></span>
<span class="key" id="E"><strong>E</strong></span>
<span class="key" id="F"><strong>F</strong></span>
<span class="key" id="G"><strong>G</strong></span>
<span class="key" id="A"><strong>A</strong></span>
<span class="key" id="B"><strong>B</strong></span>
</div>
<script src="/script.js"></script>
</html>