SwiftMIDI I/O

May 4, 2026 ยท View on GitHub

swift-midi-io

SwiftMIDI I/O

License: MIT

Extension for SwiftMIDI adding user-friendly CoreMIDI I/O on Apple platforms supporting MIDI 1.0 and MIDI 2.0.

Compatibility

macOSiOSvisionOStvOSwatchOSLinuxAndroidWASMWindows
๐ŸŸข๐ŸŸข๐ŸŸขโŒ1โŒ1-2-2-2-

Getting Started

This extension is available as a Swift Package Manager (SPM) package.

To use this extension as standalone dependency (instead of importing the swift-midi umbrella repository):

  1. Add the swift-midi-io repo as a dependency.

    .package(url: "https://github.com/orchetect/swift-midi-io", from: "1.0.0")
    
  2. Add SwiftMIDIIO to your target.

    .product(name: "SwiftMIDIIO", package: "swift-midi-io")
    
  3. Import SwiftMIDIIO to use it.

    import SwiftMIDIIO
    

Documentation & Support

See the online documentation for this repository and its Examples folder.

For support, feature requests, and bug reports see the main SwiftMIDI repository.

Author

Coded by a bunch of ๐Ÿน hamsters in a trenchcoat that calls itself @orchetect.

License

Licensed under the MIT license. See LICENSE for details.

Footnotes

  1. tvOS and watchOS do not have CoreMIDI I/O implemented in the operating system. โ†ฉ โ†ฉ2

  2. Support for indicated platforms is not planned but may be added in future. โ†ฉ โ†ฉ2 โ†ฉ3