SpeechSynthesize

SpeechSynthesize[expr]

synthesizes the contents of expr as an Audio object.

SpeechSynthesize[expr,voice]

uses the specified voice to synthesize the speech signal.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Speech synthesis of a piece of text:

Speech-synthesized spoken form of an expression:

Scope  (5)

Speech synthesis using a specific voice:

Use $VoiceStyles to get the list of available voices:

Synthesize using a female voice:

Synthesize using an Italian voice:

Synthesize using a voice specified by an Association:

Options  (5)

GeneratedAssetLocation  (1)

Specify the location for the generated asset:

Use GeneratedAssetLocationNone to create an in-core Audio object:

Language  (2)

Synthesize an Italian sentence:

Synthesize an English sentence using an Italian accent:

Translate an English text to Italian before synthesizing:

Use LanguageAutomatic to automatically detect the language and use an appropriate voice, when available.

Method  (1)

By default, a locally available synthesizer is used:

Use the GoogleSpeech API:

Use ElevenLabs:

OverwriteTarget  (1)

By default, a file will not be overwritten if it already exists:

Overwrite the target file:

Properties & Relations  (1)

Use Speak to immediately start speaking an expression:

Use AudioPlay to play the synthesized audio:

Wolfram Research (2017), SpeechSynthesize, Wolfram Language function, https://reference.wolfram.com/language/ref/SpeechSynthesize.html (updated 2024).

Text

Wolfram Research (2017), SpeechSynthesize, Wolfram Language function, https://reference.wolfram.com/language/ref/SpeechSynthesize.html (updated 2024).

CMS

Wolfram Language. 2017. "SpeechSynthesize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/SpeechSynthesize.html.

APA

Wolfram Language. (2017). SpeechSynthesize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SpeechSynthesize.html

BibTeX

@misc{reference.wolfram_2024_speechsynthesize, author="Wolfram Research", title="{SpeechSynthesize}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/SpeechSynthesize.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_speechsynthesize, organization={Wolfram Research}, title={SpeechSynthesize}, year={2024}, url={https://reference.wolfram.com/language/ref/SpeechSynthesize.html}, note=[Accessed: 21-November-2024 ]}