Hi @Jim , Thanks for using Microsoft Q&A Platform.
The SpeechSynthesizer class can be used to execute text-to-speech conversions and output the results to speakers, files, or other output streams. To specify how the output results should be handled, you can create an AudioOutputConfig
instance with the filename
parameter set to the path where you want to save the output file.
Based on your use I believe you can make use of this class.
I would request you to refer to this documentation to know more about this speech synthesizer: https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-speech-synthesis?pivots=programming-language-python&tabs=browserjs%2Cterminal#synthesize-speech-to-a-file
I hope this helps.
Please let me know if you if you are looking for more information.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.