-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (62 loc) · 2.32 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Circles</title>
<link rel="stylesheet" href="css/main.css" />
<script src='https://cdnjs.cloudflare.com/ajax/libs/tone/14.7.69/Tone.js'></script> <!-- bring in the Tone.js library - google search for tone.js cdn-->
<script src="p5.min.js"></script>
</head>
<body>
<div id="container" class="containerclass">
<div id="selections">
<div id="select1">
<div class="keymenu" style="width: 100%;">
<select id="selectKey">
<option value="0">Key</option>
<option value="1">Key: C</option>
<option value="2">Key: C#/Db</option>
<option value="3">Key: D</option>
<option value="4">Key: D#/Eb</option>
<option value="5">Key: E</option>
<option value="6">Key: F</option>
<option value="7">Key: F#/Gb</option>
<option value="8">Key: G</option>
<option value="9">Key: G#/Ab</option>
<option value="10">Key: A</option>
<option value="11">Key: A#/Bb</option>
<option value="12">Key: B</option>
</select>
</div>
</div>
<div id="select2">
<div class="scalemenu" style="width: 100%;">
<select id="selectScale">
<option value="0">Scale</option>
<option value="1">Pentatonic</option>
<option value="2">Major</option>
<option value="3">Minor</option>
<option value="4">Major Blues</option>
<option value="5">Minor Blues</option>
</select>
</div>
</div>
<div id="select3">
<div class="octavemenu" style="width: 100%;">
<select id="selectScale">
<option value="0">Octave</option>
<option value="1">0</option>
<option value="2">1</option>
<option value="3">2</option>
<option value="4">3</option>
</select>
</div>
</div>
<span class="clear"></span> <!-- this keeps the above elements within the parent div-->
</div>
<div id="p5parent"></div>
</div>
<script src="sketch.js"></script>
</body>
</html>