Problem:
When Delay Mix, Feedback and Reverb init settings are set within Conductor.swift
the UI shows the correct setting yet the effects do not correspond to the settings applied. If the knobs are adjusted in the UI, only then will the effects apply the setting.
Example:
@Published var reverbMix: Float = 0 {
didSet {
reverb.dryWetMix = reverbMix / 100.0
}
}
@Published var reverbPreset: AVAudioUnitReverbPreset = .smallRoom {
didSet {
reverb.loadFactoryPreset(reverbPreset)
}
}
@Published var delayMix: Float = 0 {
didSet {
delay.dryWetMix = delayMix
}
}
@Published var delayFeedback: Float = 0 {
didSet {
delay.feedback = delayFeedback
}
}
The following settings do not apply with initialisation of ZERO, the Delay Mix, Feedback and Reverb are still at their initial setting of 5, 20, and 10 respectively.
Solutions Tried:
1 - Clean Build Folder
2 - Deleting all apps on simulator
3 - Cloning the project and rebuilding into another new project
Specs:
macOS = 12.5.1
XCode = 13.4.1
AudioKit = 5.3.2
AudioKitUI = 0.1.5
Simulator = iPad (9th Generation)