Firstly, hats off to Aure for his impressive work in creating this framework!
My challenge is: I have successfully grabbed my iPhone's mic input using AKMicrophone, and processed it with the AKPitchshifter filter and AKMixer so that I can hear the pitchshifted output in my earphones. Here is the code (processMic() is for testing purposes called from a button tap in my UI):
import AudioKit
var micBooster: AKBooster?
var pitchShifter: AKPitchShifter?
func processMic() {
let mic = AKMicrophone()
let micMixer = AKMixer(mic)
micBooster = AKBooster(micMixer)
pitchShifter = AKPitchShifter(micBooster, shift: 8)
micBooster!.gain = 10
AudioKit.output = pitchShifter
AudioKit.start()
}
I now want that processed output to become the microphone source for a VOIP framework I am using. Is this likely to be possible? All help gratefully received.
Thanks!