This code is in a class that contains my AudioKit code. The call 'mic = AKMicrophone' fails.
private let mic : AKMicrophone
let tracker : AKFrequencyTracker
private let silence : AKBooster
init() {
do {
try AKManager.start()
akStartSucceeded = true
} catch {
akStartSucceeded = false
}
mic = AKMicrophone()
tracker = AKFrequencyTracker(mic)
}
The error message is
2020-10-08 16:51:15.256166-0700 Tuner[55400:16846610] Fatal error: Use of unimplemented initializer 'init()' for class 'AudioKit.AKMicrophone'
When I look at the definition of AKMicrophone, I see '@objc override dynamic public init()'
I have gotten similar messages and fixed the problem by finding an init(...) in the definition code that worked. I see nothing here. Is this an AudioKit bug?
Using AKMicrophoneTracker works, but I found references indicating that is going away soon and that AKFrequencyTracker is recommended.
XCode 12.0.1 iOS 14 AK is incorporated via CocoaPods and code was updated about 2 weeks ago.