eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

espeak-ng.1.ronn 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. # espeak-ng - A multi-lingual software speech synthesizer.
  2. ## SYNOPSIS
  3. __espeak-ng__ [<options>] [<words>]
  4. ## DESCRIPTION
  5. __espeak-ng__ is a software speech synthesizer for English, and some other
  6. languages.
  7. ## OPTIONS
  8. * `-h`, `--help`:
  9. Show summary of options.
  10. * `--version`:
  11. Prints the espeak library version and the location of the espeak voice
  12. data.
  13. * `-f <text file>`:
  14. Text file to speak.
  15. * `--stdin`:
  16. Read text input from stdin till to the end of a stream at once.
  17. If neither -f nor --stdin are provided, then &lt;words&gt; from parameter are spoken,
  18. or text is spoken from stdin, read separately one line by line at a time.
  19. * `-d <device>`:
  20. Use the specified device to speak the audio on. If not specified, the
  21. default audio device is used.
  22. * `-q`:
  23. Quiet, don't produce any speech (may be useful with -x).
  24. * `-a <integer>`:
  25. Amplitude, 0 to 200, default is 100.
  26. * `-g <integer>`:
  27. Word gap. Pause between words, units of 10ms at the default speed.
  28. * `-k <integer>`:
  29. Indicate capital letters with: 1=sound, 2=the word "capitals", higher
  30. values = a pitch increase (try -k20).
  31. * `-l <integer>`:
  32. Line length. If not zero (which is the default), consider lines less than
  33. this length as end-of-clause.
  34. * `-p <integer>`:
  35. Pitch adjustment, 0 to 99, default is 50.
  36. * `-s <integer>`:
  37. Speed in words per minute, default is 175.
  38. * `-v <voice name>`:
  39. Use voice file of this name from espeak-ng-data/voices. A variant can be
  40. specified using <voice>+<variant>, such as af+m3.
  41. * `-w <wave file name>`:
  42. Write output to this WAV file, rather than speaking it directly.
  43. * `--split=<minutes>`:
  44. Used with `-w` to split the audio output into &lt;minutes&gt; recorded
  45. chunks.
  46. * `-b`:
  47. Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.
  48. * `-m`:
  49. Indicates that the text contains SSML (Speech Synthesis Markup Language)
  50. tags or other XML tags. Those SSML tags which are supported are
  51. interpreted. Other tags, including HTML, are ignored, except that some HTML
  52. tags such as &lt;hr&gt; &lt;h2&gt; and &lt;li&gt; ensure a break in the
  53. speech.
  54. * `-x`:
  55. Write phoneme mnemonics to stdout.
  56. * `-X`:
  57. Write phonemes mnemonics and translation trace to stdout. If rules files
  58. have been built with --compile=debug, line numbers will also be displayed.
  59. * `-z`:
  60. No final sentence pause at the end of the text.
  61. * `--stdout`:
  62. Write speech output to stdout.
  63. * `--compile=voicename`:
  64. Compile the pronunciation rules and dictionary in the current directory.
  65. =&lt;voicename&lt; is optional and specifies which language is compiled.
  66. * `--compile-debug=voicename`:
  67. Compile the pronunciation rules and dictionary in the current directory as
  68. above, but include line numbers, that get shown when -X is used.
  69. * `--ipa`:
  70. Write phonemes to stdout using International Phonetic Alphabet. --ipa=1 Use
  71. ties, --ipa=2 Use ZWJ, --ipa=3 Separate with _.
  72. * `--tie=<character>`:
  73. The character to use to join multi-letter phonemes in -x and --ipa output.
  74. * `--path=<path>`:
  75. Specifies the directory containing the espeak-ng-data directory.
  76. * `--pho`:
  77. Write mbrola phoneme data (.pho) to stdout or to the file in --phonout.
  78. * `--phonout=<filename>`:
  79. Write output from -x -X commands and mbrola phoneme data to this file.
  80. * `--punct="<characters>"`:
  81. Speak the names of punctuation characters during speaking. If
  82. =&lt;characters&gt; is omitted, all punctuation is spoken.
  83. * `--sep=<character>`:
  84. The character to separate phonemes from the -x and --ipa output.
  85. * `--voices[=<language code>]`:
  86. Lists the available voices. If =&lt;language code&gt; is present then only
  87. those voices which are suitable for that language are listed.
  88. If `xx-yy` language code is passed, then voices with `yy` of `xx` language variants
  89. are shown with higher priority than just `xx`.
  90. If `variant` is passed, then all voice variants are shown.
  91. If `mb` or `mbrola` is passed, then all voices using the MBROLA voice synthesizer
  92. are shown.
  93. If `all` is passed, then all eSpeak NG voices, voice variants and MBROLA
  94. voices are shown.
  95. * `--voices=<directory>`:
  96. Lists the voices in the specified subdirectory.
  97. ## EXAMPLES
  98. * `espeak-ng "This is a test"`:
  99. Speak the sentence "This is a test" using the default English voice.
  100. * `espeak-ng -f hello.txt`:
  101. Speak the contents of hello.txt using the default English voice.
  102. * `cat hello.txt | espeak-ng`:
  103. Speak the contents of hello.txt using the default English voice.
  104. * `espeak-ng -x hello`:
  105. Speak the word "hello" using the default English voice, and print the
  106. phonemes that were spoken.
  107. * `espeak-ng -ven-us "[[h@'loU]]"`:
  108. Speak the phonemes "h@'loU" using the American English voice.
  109. * `espeak-ng --voices`:
  110. List all voices supported by eSpeak.
  111. * `espeak-ng --voices=en`:
  112. List all voices that speak English (`en`).
  113. * `espeak-ng --voices=mb`:
  114. List all voices using the MBROLA voice synthesizer.
  115. ## AUTHOR
  116. eSpeak NG is maintained by Reece H. Dunn <[email protected]>. It is based on
  117. eSpeak by Jonathan Duddington <[email protected]>.
  118. This manual page is based on the eSpeak page written by Luke Yelavich
  119. <[email protected]> for the Ubuntu project.