-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (49 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tone.JS Synthesizer</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tone/14.8.9/Tone.js"></script>
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500&display=swap" rel="stylesheet">
</head>
<body>
<div id="error">
<p>ERROR :(</p>
<p>
Hey there! It looks like your screen is too small to play this synthesizer. I am working on a solution but in the meantime, please come back on a computer screen with a full-sized window to play. Thanks!
</p>
<p>
-Adrien
</p>
</div>
<div id="wrapper">
<div id="header">
<h1>TONE.JS SYNTHESIZER</h1>
<p>PLAY ME!</p>
</div>
<div id="keyboard-console">
<div id ="button-flex-container">
<div class="button-container octave-btn-container">
<button id="octave-down" class="change-octave-btn synth-btn" type="button">- 1</button>
<button id="octave-up" class="change-octave-btn synth-btn" type="button"> 2 +</button>
</div>
<div class="button-container wave-btn-container">
<button id="sine" value="sine" class="change-wave synth-btn wave-selected" type="button">∿</button>
<button id="triangle" value="triangle" class="change-wave synth-btn" type="button">△</button>
<button id="square" value="square" class="change-wave synth-btn" type="button">◻</button>
<button id="sawtooth" value="sawtooth" class="change-wave synth-btn" type="button">√</button>
</div>
</div>
<div id="keys-container">
</div>
</div>
<div id="footer">
<p>ONGOING PROJECT DESIGNED AND BUILT BY ADRIEN YOUNG USING <a target="_blank" href="https://tonejs.github.io/">TONE.JS LIBRARY</a></p>
</div>
</div>
<script src="music.js"></script>
</body>
</html>