0.4.0
Release 0.4.0 brings more versatility and stability.
Summary of New Features
InputConnectionandOutputConnectioncan now have endpoints added or removed from them.InputConnectioncan optionally aggregate all MIDI outputs in the system in order to act as a MIDI event sink that receives from all MIDI outputs in the system, and will automatically add new outputs that appear in the system during its lifecycle.- Added support for network MIDI sessions
Connections
InputConnection: Addedadd(outputs:),remove(outputs:),removeAllOutputs()OutputConnection: Addedadd(inputs:),remove(inputs:),removeAllInputs()- Added endpoint array overloads to
addInputConnection(:::)andaddOutputConnection(::) InputConnection: AddedautomaticallyAddNewOutputspropertyInputConnection: AddedpreventAddingManagedOutputspropertyInput/Output: addedendpointproperty
Endpoints
- Added
current()static constructor for*Endpointsets and arrays
Network MIDI
- Added MIDI network session support:
setNetworkSession(policy:)static method inMIDI.IO
Misc
Managerno longer disposes of its MIDI client reference on deinit, as per Apple docs- Unit tests updated