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  (4)

GeneratedAssetLocation  (1)

Specify the location for the generated asset:

Use GeneratedAssetLocationNone to create an in-core Audio object:

Language  (1)

Synthesize an Italian sentence:

Synthesize an English sentence using an Italian accent:

Translate an English text to Italian before synthesizing:

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 2023).

Text

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

CMS

Wolfram Language. 2017. "SpeechSynthesize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. 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_2023_speechsynthesize, author="Wolfram Research", title="{SpeechSynthesize}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/SpeechSynthesize.html}", note=[Accessed: 18-March-2024 ]}

BibLaTeX

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