SwiftMIDI

repository·main·Indexed 43 days ago

https://github.com/orchetect/swift-midi

A modular umbrella package providing Swift extensions for MIDI handling, including core types, I/O, file manipulation, synchronization, and UI components.

Tokens
275
Snippets
1
Records
2
Agent score
6%

What's inside SwiftMIDI

  1. Import the SwiftMIDI library

    main

    To use the full suite of SwiftMIDI features, add the SwiftMIDI package product to your project and import it in your Swift files. Importing SwiftMIDI acts as an umbrella, making all sub-extensions available automatically:

    • swift-midi-controlsurfaces
    • swift-midi-core
    • swift-midi-file
    • swift-midi-io
    • swift-midi-sync
    • swift-midi-ui

    Tip: If you only need a subset of features, you can improve build times and dependency management by importing only the specific sub-packages (e.g., SwiftMIDICore or SwiftMIDIIO) instead of the entire umbrella package.

    import SwiftMIDI
  2. Troubleshoot SwiftMIDI build and runtime issues

    main

    If you encounter issues while using SwiftMIDI, check the following common scenarios:

    • Example projects build but do not run: Ensure you have selected the correct project scheme in Xcode before attempting to run.
    • Errors building for React Native: If you are integrating SwiftMIDI into a React Native project and encounter build errors, refer to the community discussion on GitHub Issue #91.