orchetect/swift-midi-io
Extension for SwiftMIDI adding user-friendly CoreMIDI I/O on Apple platforms supporting MIDI 1.0 and MIDI 2.0.
Compatibility
| macOS | iOS | visionOS | tvOS | watchOS | Linux | Android | WASM | Windows | | :---: | :--: | :------: | :---: | :-----: | :---: | :-----: | :---: | :-----: | | 🟢 | 🟢 | 🟢 | ❌[^1] | ❌[^1] | -[^2] | -[^2] | -[^2] | - |
[^1]: tvOS and watchOS do not have CoreMIDI I/O implemented in the operating system. [^2]: Support for indicated platforms is not planned but may be added in future.
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):
- Add the swift-midi-io repo as a dependency.
``swift .package(url: "https://github.com/orchetect/swift-midi-io", from: "1.0.0") ``
- Add SwiftMIDIIO to your target.
``swift .product(name: "SwiftMIDIIO", package: "swift-midi-io") ``
- Import SwiftMIDIIO to use it.
``swift 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.
License
Licensed under the MIT license. See LICENSE for details.
Package Metadata
Repository: orchetect/swift-midi-io
Default branch: main
README: README.md