Skip to content

Commit ae45845

Browse files
committed
removed output midi
1 parent 58e5193 commit ae45845

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

handlerOSC/menu.pde

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ void drawMidiMenu() {
77
.setPosition(20, nextY())
88
.setSize(menuWidth, 50);
99

10-
midiOutDropdown = cp5.addDropdownList("midiOut")
11-
.setPosition(20, nextY())
12-
.setSize(menuWidth, 50);
13-
1410
String[] inputs = MidiBus.availableInputs();
1511
for (int i = 0; i < inputs.length; i++) {
1612
midiInDropdown.addItem(inputs[i], i);
@@ -23,7 +19,7 @@ void drawMidiMenu() {
2319
midiOutDropdown.addItem(outputs[i], i);
2420
}
2521
midiInDropdown.setValue(1);
26-
midiOutDropdown.setOpen(false);
22+
2723

2824
cp5.addButton("Update")
2925
.setValue(0)
@@ -51,7 +47,7 @@ public void Update() {
5147
if (midi != null) {
5248
midi.clearAll();
5349
}
54-
midi = new MidiBus(this, (int)midiInDropdown.getValue(), (int)midiOutDropdown.getValue());
50+
midi = new MidiBus(this, (int)midiInDropdown.getValue());
5551
midi.sendNoteOn(0, 44, 127);
5652
}
5753

0 commit comments

Comments
 (0)