i want to override an existing .m4a file with many filters with audio kit, my code :
file = try AKAudioFile(forReading: recordVoiceURL)
player = AKPlayer(audioFile: file)
delay = AKVariableDelay(player)
delay.rampTime = 0.5
delayMixer = AKDryWetMixer(player, delay)
reverb = AKCostelloReverb(delayMixer)
reverbMixer = AKDryWetMixer(delayMixer, reverb)
booster = AKBooster(reverbMixer)
tracker = AKAmplitudeTracker(booster)
AudioKit.output = tracker
try AudioKit.start()
i am changing the values of my filters and it works perfectly , now i need to export a new file which include my original file + the EQ filters applied but i don't know how with AudioKit or with AVFoundation
Thanks to all
Try AudioKit's renderToFile once you have your filters setup:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.