AKMIDICallbackInstrument implementation issue
问题 Updating to the latest version of AudioKit left me changing several AKCallbackInstrument instances over to the new AKMIDICallbackInstrument class which now incorporates the former as legacy behavior. When doing so however, I ran into this weird error. Maybe a Swift nuance I am missing? let callback = AKMIDICallbackInstrument() { status, note, velocity in if status == .noteOn { //errors out // do something } } Comparing status to .noteOn errors out with: "Expression type 'Bool' is ambiguous