File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ void drawMidiMenu() {
7
7
.setPosition(20 , nextY())
8
8
.setSize(menuWidth, 50 );
9
9
10
- midiOutDropdown = cp5. addDropdownList(" midiOut" )
11
- .setPosition(20 , nextY())
12
- .setSize(menuWidth, 50 );
13
-
14
10
String [] inputs = MidiBus . availableInputs();
15
11
for (int i = 0 ; i < inputs. length; i++ ) {
16
12
midiInDropdown. addItem(inputs[i], i);
@@ -23,7 +19,7 @@ void drawMidiMenu() {
23
19
midiOutDropdown. addItem(outputs[i], i);
24
20
}
25
21
midiInDropdown. setValue(1 );
26
- midiOutDropdown . setOpen( false );
22
+
27
23
28
24
cp5. addButton(" Update" )
29
25
.setValue(0 )
@@ -51,7 +47,7 @@ public void Update() {
51
47
if (midi != null ) {
52
48
midi. clearAll();
53
49
}
54
- midi = new MidiBus (this , (int )midiInDropdown. getValue(), ( int )midiOutDropdown . getValue() );
50
+ midi = new MidiBus (this , (int )midiInDropdown. getValue());
55
51
midi. sendNoteOn(0 , 44 , 127 );
56
52
}
57
53
You can’t perform that action at this time.
0 commit comments