-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (76 loc) · 2.74 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE HTML>
<html>
<head>
<title>Procedural Soundscape</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Monoton" rel="stylesheet">
</head>
<body>
<!-- Loading Screen -->
<div id="loading-screen">
<div class="loading-title">
<div><h1>Procedural Soundscape</h1></div>
<div><h2>Claire Goeckner-Wald & Amy Xiong</h2></div>
</div>
<div class="loading-text">Loading...</div>
</div>
<!-- Main Content -->
<div id="page-content" style="display:none;" class="grid-container">
<!-- 1st row -->
<div class="grid-nopanel"></div>
<div class="grid-panel">
<button id="play-pause-button">
<i class="fa fa-play"></i>
</button>
</div>
<div class="grid-nopanel"></div>
<div class="grid-panel">
<div class="panel-content">
<div class="panel-content-title">BPM</div>
<div class="panel-content-spacer"></div>
<div id="bpm-value"></div>
</div>
</div>
<div class="grid-nopanel"></div>
<!-- 2nd row -->
<div class="grid-nopanel"></div>
<div class="grid-panel">
<button id="update-background">
<i class="fa fa-refresh"></i>
</button>
</div>
<div class="grid-nopanel"></div>
<div class="grid-panel">
<div class="panel-content">
<div class="panel-content-title">Key</div>
<div class="panel-content-spacer"></div>
<div id="key-value">--</div>
</div>
</div>
<div class="grid-nopanel"></div>
<!-- 3rd row -->
<div class="grid-fullrow">
<div class="notes-display">
<div class="notes-content" id="note-bar1"><h1>Procedural Soundscape</h1></div>
<div class="notes-content" id="note-bar2"><h2>Claire Goeckner-Wald & Amy Xiong</h2></div>
</div>
</div>
</div>
</div>
<!-- Force Module Preload -->
<!-- Ref: https://developers.google.com/web/fundamentals/primers/modules -->
<link rel="modulepreload" href="./assets/js/instruments.js">
<link rel="modulepreload" href="./assets/js/chords.js">
<!-- Scripts -->
<script src="./assets/js/Tone.js"></script>
<script src="./assets/js/Tonejs-Instruments.js"></script>
<script src="./assets/js/instruments.js" type="module"></script>
<script src="./assets/js/chords.js" type="module"></script>
<script src="./assets/js/music.js" type="module"></script>
<script src="./assets/js/main.js" type="module"></script>
</body>
</html>