-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (140 loc) · 5.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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="style.css" />
<script
src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/tone/14.8.49/Tone.js"
integrity="sha512-jduERlz7En1IUZR54bqzpNI64AbffZWR//KJgF71SJ8D8/liKFZ+s1RxmUmB+bhCnIfzebdZsULwOrbVB5f3nQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="https://cdn.jsdelivr.net/npm/webmidi@latest/dist/iife/webmidi.iife.js"></script>
<script type="module" defer src="js/script.js"></script>
<title>Looper</title>
</head>
<body>
<header>
<div class="top-row">
<div>
<button id="audio-init" class="blink" style="margin: 0 24px 12px 0">
<i class="fa-solid fa-power-off"></i>
</button>
<button id="new-project">
<i class="fa-solid fa-plus"></i> Project
</button>
<div class="bpm-container" style="margin: 12px 0">
<label for="project-bpm">BPM</label>
<input
type="text"
name="project-bpm"
id="project-bpm"
value="120"
style="width: 50px"
/>
<button id="play"><i class="fa-solid fa-play"></i></button>
</div>
</div>
<div>
<div>
<label for="join-radio"
><i class="fa-solid fa-handshake"></i
></label>
<input type="radio" name="edit-mode" id="join-radio" value="join" />
<label for="split-2-radio"
><i class="fa-solid fa-split"></i>
<i class="fa-solid fa-divide"></i> <i class="fa-solid fa-2"></i
></label>
<input type="radio" name="edit-mode" id="split-2-radio" value="2" />
<label for="split-3-radio"
><i class="fa-solid fa-split"></i>
<i class="fa-solid fa-divide"></i> <i class="fa-solid fa-3"></i
></label>
<input type="radio" name="edit-mode" id="split-3-radio" value="3" />
<label for="split-4-radio"
><i class="fa-solid fa-split"></i>
<i class="fa-solid fa-divide"></i> <i class="fa-solid fa-4"></i
></label>
<input type="radio" name="edit-mode" id="split-4-radio" value="4" />
</div>
<div style="margin-top: 12px">
<label for="pencil-radio"><i class="fa-solid fa-pencil"></i></label>
<input
type="radio"
name="edit-mode"
id="pencil-radio"
value="pencil"
checked="checked"
/>
<label for="select-radio"
><i class="fa-solid fa-wand-magic-sparkles"></i
></label>
<input
type="radio"
name="edit-mode"
id="select-radio"
value="select"
/>
<button id="log-project">
<i class="fa-solid fa-file-lines"></i>
</button>
</div>
</div>
</div>
<div class="section-tab-row"></div>
</header>
<div class="keyboard-panel hidden">
<div class="keyboard-top-row">
<button id="keyboard-panel-arrow">
<i class="fa-solid fa-caret-up"></i>
</button>
<button id="save-chord">
<i class="fa-solid fa-save"></i>
</button>
<button id="delete-chord">
<i class="fa-solid fa-trash"></i>
</button>
<div
class="chord-list"
style="
display: flex;
flex-direction: row;
flex-wrap: nowrap;
gap: 12px;
"
></div>
</div>
<div class="keyboard-content"></div>
<div class="keyboard-bottom-row">
<button class="edit-chord" id="octave-down">
<i class="fa-solid fa-chevron-left"></i> OCT
</button>
<button class="edit-chord" id="octave-up">
OCT <i class="fa-solid fa-chevron-right"></i>
</button>
<button class="edit-chord" id="invert-down">
<i class="fa-solid fa-chevron-left"></i> INV
</button>
<button class="edit-chord" id="invert-up">
INV <i class="fa-solid fa-chevron-right"></i>
</button>
<button class="edit-chord" id="drop-second">DROP 2<sup>nd</sup></button>
<button class="edit-chord" id="open">OPEN</button>
<button class="edit-chord" id="expand">EXPAND</button>
</div>
</div>
</body>
</html>