Tekst-naar-spraak

Spraaksynthese is het kunstmatig produceren van menselijke spraak. Ook wel: Text-to-Speech (TTS), Computerstem, Tekst-naar-Spraak, kunstmatige spraak. Het is onder meer een onderzoeksgebied binnen de kunstmatige intelligentie. Met behulp van spraaksynthese-software wordt geschreven (orthografische of fonetische) tekst omgezet in gesproken tekst. Het doel van spraaksynthese-software is om menselijke spraak zo goed mogelijk na te bootsen.

Bron: Spraaksynthese - Wikipedia

$say Hello, World
$say -v Zarvox Hello, World

Een lijst van beschikbare stemmen is te vinden via Systeemvoorkeuren... -> Spraak:

Tekst-naar-spraak

Syntax:

say [-v voice] [-o outfile [audio format options] | -n name:port ] ... [-f file | string ...]

-f file, --input-file=file

Specify a file to be spoken. If file is - or neither this parameter nor a message is specified, read from standard input.

-v voice, --voice=voice

Specify the voice to be used. Default is the voice selected in System Preferences.

-o out.aiff, --output-file=file

Specify the path for an audio file to be written. AIFF is the default and should be supported for most voices, but some voices support many more file formats.