ESPEAK(1)

๐Ÿ“ฆ
version 1.48.15 ยท 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– ESPEAK โ€” a whole software speech synthesizer, bestie ๐Ÿ’–

okay so this is the page for espeak from the General Commands Manual (that's the manual section situation, she's in section 1) and honestly? iconic. let's get into it ๐ŸŽ€


โœจ NAME โœจ

espeak โ€” a multi-lingual software speech synthesizer. she talks. in languages. plural. periodt. ๐Ÿ—ฃ๏ธ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

espeak [options] [<words>]

that's it. that's the whole vibe. options first, words after, and if you're feeling spicy you can just skip the words entirely (more on that in a sec ๐Ÿ‘€)


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

espeak is a software speech synthesizer for English, and also some other languages. ngl she's out here doing the absolute most for a command-line girlie ๐Ÿ’…


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

  • -h โ€” show a summary of the options. your little cheat sheet, your lil crib notes, we love her ๐Ÿซถ
  • --version โ€” prints the espeak library version and the location of the espeak voice data. two for one, slay โœจ
  • -f <text file> โ€” the text file to speak. feed her a file, she reads it out loud.
  • --stdin โ€” read the text input from stdin instead of from a file. pipes?? we love pipes ๐Ÿงš
  • no -f, no --stdin? โ€” then the <words> get spoken. and if there are no words either, then the text is spoken from stdin, each line separately. she'll go line by line, no cap.
  • -q โ€” quiet mode, don't produce any speech at all. sounds fake but it's genuinely useful with -x (may be useful with -x โ€” that's literally what the page says and she's right)
  • -a <integer> โ€” amplitude, 0 to 200, default is 100. volume check ๐Ÿ”Š
  • -g <integer> โ€” word gap. pause between words, in units of 10mS at the default speed. give the girl some breathing room ๐Ÿ˜ฎโ€๐Ÿ’จ
  • -k <integer> โ€” indicate capital letters with: 1=sound, 2=the word "capitals", higher values = a pitch increase (try -k20). yes really, try -k20, it's a whole moment ๐Ÿ”ฅ
  • -l <integer> โ€” line length. if it's not zero (and zero is the default), then lines less than this length count as and-of-clause. (that's what the page says, we're keeping it, we don't ask questions ๐Ÿ™ˆ)
  • -p <integer> โ€” pitch adjustment, 0 to 99, default is 50. higher = more main character energy ๐Ÿ’œ
  • -s <integer> โ€” speed in words per minute, default is 160. slow it down for the drama or speed it up for the chaos โญ
  • -v <voice name> โ€” use the voice file of this name from espeak-data/voices. pick your girl ๐ŸŒˆ
  • -w <wave file name> โ€” write the output to this WAV file instead of speaking it directly. save it for later, bestie ๐ŸŽ€
  • -b โ€” input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.
  • -m โ€” indicates that the text contains SSML (Speech Synthesis Markup Language) tags or other XML tags. those SSML tags which are supported get interpreted. other tags, including HTML, are ignored, except that some HTML tags such as <hr> <h2> and <li> ensure a break in the speech. so she'll pause for those, cute ๐Ÿฆ‹
  • -x โ€” write phoneme mnemonics to stdout. peek behind the curtain ๐Ÿ‘€
  • -X โ€” write phoneme mnemonics and translation trace to stdout. if the rules files have been built with --compile=debug, line numbers will also be displayed. full lore drop ๐Ÿ“–
  • -z โ€” no final sentence pause at the end of the text. she justโ€ฆ stops. abrupt queen ๐Ÿ’€
  • --stdout โ€” write the speech output to stdout.
  • --compile=voicename โ€” compile the pronunciation rules and dictionary in the current directory. =<voice name> is optional and specifies which language.
  • --compile=debug โ€” compile the pronunciation rules and dictionary in the current directory as above, but include line numbers, that get shown when -X is used. debugging but make it โœจvisibleโœจ
  • --ipa โ€” write phonemes to stdout using International Phonetic Alphabet. --ipa=1 use ties, --ipa=2 use ZWJ, --ipa=3 separate with _. pick your flavour ๐Ÿ“
  • --path=<path> โ€” specifies the directory containing the espeak-data directory.
  • --pho โ€” write mbrola phoneme data (.pho) to stdout or to the file in --phonout.
  • --phonout=<filename> โ€” write output from -x -X commands and mbrola phoneme data to this file.
  • --punct="<characters>" โ€” speak the names of punctuation characters during speaking. if =<characters> is omitted, all punctuation is spoken. comma?? spoken. period?? spoken. obsessed.
  • --voices[=<language code>] โ€” lists the available voices. if =<language code> is present then only those voices which are suitable for that language are listed.
  • --voices=<directory> โ€” lists the voices in the specified subdirectory.
โš ๏ธ heads up bestie: -q gives you literally no speech, so don't be shocked when she's silent. that's the whole point.

๐Ÿ’œ AUTHOR ๐Ÿ’œ

eSpeak was written by Jonathan Duddington <jonsd@jsd.clara.co.uk>. the webpage for this package can be found at http://espeak.sourceforge.net/.

this manual page was written by Luke Yelavich <themuso@ubuntu.com>, for the Ubuntu project (but may be used by others). ๐Ÿซถ


and that's the whole thing, no notes ๐Ÿ’… this page lives in the General Commands Manual as ESPEAK(1), and it was last touched on August 6, 2010 โ€” vintage, honestly, and still serving. go make your computer talk, bestie ๐ŸŽ€โœจ