Skip to content

Commit 3ab0e10

Browse files
committed
Removed Work in Progress elements for a more clear UI
1 parent 70f529c commit 3ab0e10

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

Channel Rack/channelRack.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ function program() {
195195
$("#channelRack .main table tr td").css("min-width", columnSize + "px");
196196
$("#channelRack .main table tr td:nth-of-type(4n + 1)").css("border-right", "6px solid #222222");
197197
channelRackEvents();
198+
},
199+
200+
clear: function() {
201+
this.notes = [];
202+
$("#channelRack .main table tr td").css("background-color", '');
198203
}
199204
}
200205

@@ -465,6 +470,10 @@ function program() {
465470
channelRackPlayAction();
466471
});
467472

473+
$('#channelRack_clearButton').click(function() {
474+
channelRack.clear();
475+
});
476+
468477
$('#channelRack_stopButton').click(function() {
469478
channelRack.playing = false;
470479
window.setTimeout(() => channelRack.currentTick = 1, getTickSpeed());

index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
<div id="toolBar">
2222
<ul id="menuBar">
2323
<li style=" text-align: center; color: white; font-family: 'Staatliches', cursive; overflow: hidden;"> <h1> JJ STUDIO </h1> </li>
24-
<li> <button class="menuButton"> Save</button></li>
24+
<!-- <li> <button class="menuButton"> Save</button></li>
2525
<li> <button class="menuButton"> Load</button></li>
2626
<li> <button class="menuButton"> View </button></li>
2727
<li> <button class="menuButton"> Edit</button></li>
28-
<li><button class="menuButton"> About </button></li>
28+
<li><button class="menuButton"> About </button></li> -->
2929
</ul>
3030

3131
<div id="playListInfoBar">
@@ -34,10 +34,10 @@ <h3 class="input-info"> BPM: </h3>
3434
<input type="number" id="bpm-display" min="10" max="300" class="user-input">
3535
</div>
3636

37-
<div class="input-container">
37+
<!-- <div class="input-container">
3838
<h3 class="input-info"> Time Signature: </h3>
3939
<input type="text" id="time-signature-display" placeholder="4/4" disabled class="user-input">
40-
</div>
40+
</div> -->
4141

4242
<div class="input-container">
4343
<h3 class="input-info"> Current Time: </h3>
@@ -68,7 +68,7 @@ <h3> Enter JSON Key: </h3>
6868

6969
<div id="windowSelection">
7070
<button class="windowSelectionButton" id="channel-rack-selection-button"> Channel Rack </button>
71-
<button class="windowSelectionButton" id="piano-rack-selection-button"> Piano Rack </button>
71+
<!-- <button class="windowSelectionButton" id="piano-rack-selection-button"> Piano Rack </button> -->
7272
<button class="windowSelectionButton" id="saved-patterns-selection-button"> Saved Patterns </button>
7373
</div>
7474
</div>
@@ -98,6 +98,7 @@ <h1 style="font-size: 10px; color: white; user-select: none; "> Channel Rack </h
9898
<button type="button" id="channelRack_playButton" class="status-indicator"></button>
9999
<button type="button" id="channelRack_stopButton" class="status-indicator"></button>
100100
<button type="button" id="channelRack_resetButton" class="status-indicator"></button>
101+
<button type="button" id="channelRack_clearButton" class="status-indicator"> Clear </button>
101102
<button type="button" id="channelRack-saveButton" class="status-indicator"> Save </button>
102103

103104
<button type="button" class="closeButton"> X </button>
@@ -112,7 +113,7 @@ <h1 style="font-size: 10px; color: white; user-select: none; "> Channel Rack </h
112113

113114

114115
<div class="bottomBar">
115-
<button class="addSoundButton"> Add Sound </button>
116+
<!-- <button class="addSoundButton"> Add Sound </button> -->
116117
<div class="input-container">
117118
<h3 class="input-info" style="margin: 0;"> Pattern Name: </h3>
118119
<input type="text" class="user-input" id="channel-rack-name-input" placeholder="">
@@ -168,7 +169,7 @@ <h2> Search: </h2>
168169

169170
</div>
170171
</div>
171-
<div class="radial-menu-selection">
172+
<!-- <div class="radial-menu-selection">
172173
<div class="content">
173174
W.I.P
174175
</div>
@@ -177,7 +178,7 @@ <h2> Search: </h2>
177178
<div class="content">
178179
W.I.P
179180
</div>
180-
</div>
181+
</div> -->
181182
</div>
182183

183184
<div id="page-load">

0 commit comments

Comments
 (0)