app.rm.setReceiver(ch, outputPlayers.get(os.comPort));
}
//MIDIPlayer/Receivers are grouped by MIDI output name
else if (os.type.equals(OutputSetting.OutputType.MIDI)) {
if (!outputPlayers.containsKey(os.midiDeviceName)){
outputPlayers.put(os.midiDeviceName, new MoppyMIDIOutput(os.midiDeviceName));
}
app.rm.setReceiver(ch, outputPlayers.get(os.midiDeviceName));
}
}
}