MIDIBankType

enum MIDIBankType

There are two types of MIDI banks in the General MIDI standard: melody and percussion

  • Undocumented

    Declaration

    Swift

    static let kBankSize: Int
  • Undocumented

    Declaration

    Swift

    case percussion
  • Undocumented

    Declaration

    Swift

    case melody
  • Undocumented

    Declaration

    Swift

    case custom(bank: Int)
  • Undocumented

    Declaration

    Swift

    static func basedOn(bank: Int) -> MIDIBankType
  • Obtain the most-significant byte of the bank for the program/voice

    Declaration

    Swift

    var bankMSB: Int { get }
  • Obtain the least-significant byte of the bank for the program/voice

    Declaration

    Swift

    var bankLSB: Int { get }