I have an AVSpeechSynthesizer that converts text to speech, but I ran into a problem.
I don’t know how to save the audio file that it creates into a music file, which I really would like to make!
So here is my question: how do you save the output of AVSpeechSynthesizer, and if this is not possible, can I AVFoundation, CoreMedia or another public API to capture the output of the speakers, but before it comes out?
Thanks!
source share