我在类上使用AudioKit的AKMIDIListener协议(protocol)来监听MIDI消息。这适用于标准消息,例如NoteOn,但SysEx消息无法通过。funcreceivedMIDINoteOn(noteNumber:MIDINoteNumber,velocity:MIDIVelocity,channel:MIDIChannel){NSLog("NoteOn\(noteNumber),\(velocity),\(channel)")//worksperfectly}funcreceivedMIDISystemCommand(_data:[MIDIByte]){NSLog(