AUv3 Extensions User Presets
Show Apple's description.
Audio Unit app extensions gives users a convenient way to create or modify audio in any iOS or macOS app that uses sound, including music production apps such as GarageBand or Logic Pro X. And now, with iOS 13, you can store user presets for your extensions that are accessible across applications.
- Presets fine-tunes set of parameter values
- Capture Snapshot of state of Audio Unit's parameters
- Loading preset restores Audio Unit to same state
AUAudioUnit.factoryPresetsbuilt into the unit by manufacturer. Immutable.
AUAudioUnit.userPresetsare new and are created by user. Mutable. Unit exposes them to all host applications.
supportsUserPreset: Boolused to verify support by the host
presetState(for:) throws -> [String : Any]to get state.
isLoadedInProcess: Boolis a macOS only feature
- Methods above have default implementations. Can be overridden.
This note was originally published at https://github.com/Blackjacx/WWDC