SpeechSynthesize
SpeechSynthesize[expr] synthesizes the contents of expr as an Audio object.
SpeechSynthesize[expr, voice]uses the specified voice to synthesize the speech signal.
This function converts text to speech using text-to-speech synthesis.
Examples
SpeechSynthesize["Hello, world!"]SpeechSynthesize["The answer is forty-two.", "Male"]audio = SpeechSynthesize["Welcome to Wolfram Language"];
audio*See the official Wolfram Language Reference for more details.