-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
61 lines (54 loc) · 1.82 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>Melodybot</title>
<!-- The top-level script -->
<script type="text/javascript" src="polyfills.js"></script>
<script type="text/javascript" src="api-client.js"></script>
<script type="text/javascript" src="audio-engine.js"></script>
<script type="text/javascript" src="synth.js"></script>
<script type="text/javascript" src="piano-display.js"></script>
<script type="text/javascript" src="status.js"></script>
<script type="text/javascript" src="index.js"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="index.css" />
<style>
body, html {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id='melodybot' class='phase-starting'>
<div id='starting'>
<h1>Welcome to Melodybot</h1>
<div>
<button id='start'>Play!</button>
</div>
</div>
<div id='main'>
<h1>MELODYBOT</h1>
<div class="buttons">
<button id='stop'>Stop</button>
<button id='resume'>Start</button>
<button id='refresh'>New Pattern</button>
</div>
<div id='status-display'>
<span id='key-name'></span>
<span id='generator-name'></span>
</div>
<canvas id='piano-display' />
</div>
<div id='error'>
<h1>OOPS!</h1>
<p>Something went wrong there.</p>
<p id="error-message"></p>
<p>Please refresh the page.</p>
</div>
</div>
<footer><a href="https://noopschallenge.com/challenges/melodybot">Learn more at noopschallenge.com</a></footer>
</body>
</html>