We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea38fe1 commit 190cd44Copy full SHA for 190cd44
Classes/LaunchpadMiniMk1.sc
@@ -44,7 +44,7 @@ LaunchpadMiniMk1 {
44
var <channel = 0;
45
var <verbose = true;
46
47
- classvar <midiDeviceName = "Launchpad Mini", midiPortName = "Launchpad Mini";
+ classvar <midiDeviceName = "Launchpad Mini";
48
classvar <deviceButtonNotes, <sideButtonNotes, <topButtonCCNums;
49
50
*new{
@@ -124,8 +124,7 @@ LaunchpadMiniMk1 {
124
if(devices.size < 1, {
125
"No device found - may only be used with GUI".warn;
126
}, {
127
-
128
- deviceMidiOut = MIDIOut.newByName(midiDeviceName, midiPortName).latency_(0);
+ deviceMidiOut = MIDIOut.newByName(devices[0].device, devices[0].name).latency_(0);
129
130
// A dirty hack to connect the device
131
MIDIClient.sources.do{|src, srcNum|
0 commit comments