eSpeak is a free and open-source, cross-platform, compact, software speech synthesizer. It uses a formant synthesis method, providing many languages in a relatively small file size. eSpeakNG (Next Generation) is a continuation of the original developer's project with more feedback from native speakers.
Original author(s) | Jonathan Duddington |
---|---|
Developer(s) | Alexander Epaneshnikov et al. |
Initial release | February 2006 |
Stable release | 1.51[1]
/ 2 April 2022 |
Repository | github |
Written in | C |
Operating system | Linux Windows macOS FreeBSD |
Type | Speech synthesizer |
License | GPLv3 |
Website | github |
Because of its small size and many languages, eSpeakNG is included in NVDA[2] open source screen reader for Windows, as well as Android,[3] Ubuntu[4] and other Linux distributions. Its predecessor eSpeak was recommended by Microsoft in 2016[5] and was used by Google Translate for 27 languages in 2010;[6] 17 of these were subsequently replaced by proprietary voices.[7]
The quality of the language voices varies greatly. In eSpeakNG's predecessor eSpeak, the initial versions of some languages were based on information found on Wikipedia.[8] Some languages have had more work or feedback from native speakers than others. Most of the people who have helped to improve the various languages are blind users of text-to-speech.
History
editIn 1995, Jonathan Duddington released the Speak speech synthesizer for RISC OS computers supporting British English.[9] On 17 February 2006, Speak 1.05 was released under the GPLv2 license, initially for Linux, with a Windows SAPI 5 version added in January 2007.[10] Development on Speak continued until version 1.14, when it was renamed to eSpeak.
Development of eSpeak continued from 1.16 (there was not a 1.15 release)[10] with the addition of an eSpeakEdit program for editing and building the eSpeak voice data. These were only available as separate source and binary downloads up to eSpeak 1.24. The 1.24.02 version of eSpeak was the first version of eSpeak to be version controlled using subversion,[11] with separate source and binary downloads made available on SourceForge.[10] From eSpeak 1.27, eSpeak was updated to use the GPLv3 license.[11] The last official eSpeak release was 1.48.04 for Windows and Linux, 1.47.06 for RISC OS and 1.45.04 for macOS.[12] The last development release of eSpeak was 1.48.15 on 16 April 2015.[13]
eSpeak uses the Usenet scheme to represent phonemes with ASCII characters.[14]
eSpeak NG
editOn 25 June 2010,[15] Reece Dunn started a fork of eSpeak on GitHub using the 1.43.46 release. This started off as an effort to make it easier to build eSpeak on Linux and other POSIX platforms.
On 4 October 2015 (6 months after the 1.48.15 release of eSpeak), this fork started diverging more significantly from the original eSpeak.[16][17]
On 8 December 2015, there were discussions on the eSpeak mailing list about the lack of activity from Jonathan Duddington over the previous 8 months from the last eSpeak development release. This evolved into discussions of continuing development of eSpeak in Jonathan's absence.[18][19] The result of this was the creation of the espeak-ng (Next Generation) fork, using the GitHub version of eSpeak as the basis for future development.
On 11 December 2015, the espeak-ng fork was started.[20] The first release of espeak-ng was 1.49.0 on 10 September 2016,[21] containing significant code cleanup, bug fixes, and language updates.
Features
editeSpeakNG can be used as a command-line program, or as a shared library.
It supports Speech Synthesis Markup Language (SSML).
Language voices are identified by the language's ISO 639-1 code. They can be modified by "voice variants". These are text files which can change characteristics such as pitch range, add effects such as echo, whisper and croaky voice, or make systematic adjustments to formant frequencies to change the sound of the voice. For example, "af" is the Afrikaans voice. "af f2" is the Afrikaans voice modified with the "f2" voice variant which changes the formants and the pitch range to give a female sound.
eSpeakNG uses an ASCII representation of phoneme names which is loosely based on the Usenet system.
Phonetic representations can be included within text input by including them within double square-brackets. For example: espeak-ng -v en "Hello [[w3:ld]]" will say
in English.Synthesis method
editeSpeakNG can be used as text-to-speech translator in different ways, depending on which text-to-speech translation step user want to use.
1. step — text to phoneme translation
editThere are many languages (notably English) which do not have straightforward one-to-one rules between writing and pronunciation; therefore, the first step in text-to-speech generation has to be text-to-phoneme translation.
- input text is translated into pronunciation phonemes (e.g. input text xerox is translated into zi@r0ks for pronunciation).
- pronunciation phonemes are synthesized into sound e.g., zi@r0ks is voiced as
To add intonation for speech i.e. prosody data are necessary (e.g. stress of syllable, falling or rising pitch of basic frequency, pause, etc.) and other information, which allows to synthesize more human, non-monotonous speech. E.g. in eSpeakNG format stressed syllable is added using apostrophe: z'i@r0ks which provides more natural speech:
For comparison two samples with and without prosody data:
- [[DIs Iz m0noUntoUn spi:tS]] is spelled
- [[DIs Iz 'Int@n,eItI2d sp'i:tS]] is spelled
If eSpeakNG is used for generation of prosody data only, then prosody data can be used as input for MBROLA diphone voices.
2. step — sound synthesis from prosody data
editThe eSpeakNG provides two different types of formant speech synthesis using its two different approaches. With its own eSpeakNG synthesizer and a Klatt synthesizer:[22]
- The eSpeakNG synthesizer creates voiced speech sounds such as vowels and sonorant consonants by additive synthesis adding together sine waves to make the total sound. Unvoiced consonants e.g. /s/ are made by playing recorded sounds,[23] because they are rich in harmonics, which makes additive synthesis less effective. Voiced consonants such as /z/ are made by mixing a synthesized voiced sound with a recorded sample of unvoiced sound.
- The Klatt synthesizer mostly uses the same formant data as the eSpeakNG synthesizer. But, it also produces sounds by subtractive synthesis by starting with generated noise, which is rich in harmonics, and then applying digital filters and enveloping to filter out necessary frequency spectrum and sound envelope for particular consonant (s, t, k) or sonorant (l, m, n) sound.
For the MBROLA voices, eSpeakNG converts the text to phonemes and associated pitch contours. It passes this to the MBROLA program using the PHO file format, capturing the audio created in output by MBROLA. That audio is then handled by eSpeakNG.
Languages
editeSpeakNG performs text-to-speech synthesis for the following languages:[24]
- Afrikaans[25]
- Albanian[26]
- Amharic
- Ancient Greek
- Arabic1
- Aragonese[27]
- Armenian (Eastern Armenian)
- Armenian (Western Armenian)
- Assamese
- Azerbaijani
- Bashkir
- Basque
- Belarusian
- Bengali
- Bishnupriya Manipuri
- Bosnian
- Bulgarian[27]
- Burmese
- Cantonese[27]
- Catalan[27]
- Cherokee
- Chinese (Mandarin)
- Croatian[27]
- Czech
- Chuvash
- Danish[27]
- Dutch[27]
- English (American)[27]
- English (British)
- English (Caribbean)
- English (Lancastrian)
- English (New York City)5
- English (Received Pronunciation)
- English (Scottish)
- English (West Midlands)
- Esperanto[27]
- Estonian[27]
- Finnish[27]
- French (Belgian)[27]
- French (Canada)
- French (France)
- Georgian[27]
- German[27]
- Greek (Modern)[27]
- Greenlandic
- Guarani
- Gujarati
- Hakka Chinese3
- Haitian Creole
- Hawaiian
- Hebrew
- Hindi[27]
- Hungarian[27]
- Icelandic[27]
- Indonesian[27]
- Ido
- Interlingua
- Irish[27]
- Italian[27]
- Japanese4[28]
- Kannada[27]
- Kazakh
- Klingon
- Kʼicheʼ
- Konkani[29]
- Korean
- Kurdish[27]
- Kyrgyz
- Quechua
- Latin
- Latgalian
- Latvian[27]
- Lingua Franca Nova
- Lithuanian
- Lojban[27]
- Luxembourgish
- Macedonian
- Malay[27]
- Malayalam[27]
- Maltese
- Manipuri
- Māori
- Marathi[27]
- Nahuatl (Classical)
- Nepali[27]
- Norwegian (Bokmål)[27]
- Nogai
- Oromo
- Papiamento
- Persian[27]
- Persian (Latin alphabet)2
- Polish[27]
- Portuguese (Brazilian)[27]
- Portuguese (Portugal)
- Punjabi[30]
- Pyash (a constructed language)
- Quenya
- Romanian[27]
- Russian[27]
- Russian (Latvia)
- Scottish Gaelic
- Serbian[27]
- Setswana
- Shan (Tai Yai)
- Sindarin
- Sindhi
- Sinhala
- Slovak[27]
- Slovenian
- Spanish (Spain)[27]
- Spanish (Latin American)
- Swahili[25]
- Swedish[27]
- Tamil[27]
- Tatar
- Telugu
- Thai
- Turkmen
- Turkish[27]
- Uyghur
- Ukrainian
- Urarina
- Urdu
- Uzbek
- Vietnamese (Central Vietnamese)[27]
- Vietnamese (Northern Vietnamese)
- Vietnamese (Southern Vietnamese)
- Welsh
- Currently, only fully diacritized Arabic is supported.
- Persian written using English (Latin) characters.
- Currently, only Pha̍k-fa-sṳ is supported.
- Currently, only Hiragana and Katakana are supported.
- Currently unreleased; it must be built from the latest source code.
See also
editReferences
edit- ^ "Release 1.51".
- ^ "Switch to eSpeak NG in NVDA distribution · Issue #5651 · nvaccess/nvda". GitHub.
- ^ "eSpeak TTS for Android".
- ^ "espeak-ng package : Ubuntu". Launchpad. 21 December 2023.
- ^ "Download voices for Immersive Reader, Read Mode, and Read Aloud".
- ^ Google blog, Giving a voice to more languages on Google Translate, May 2010
- ^ Google blog, Listen to us now, December 2010.
- ^ "eSpeak Speech Synthesizer". espeak.sourceforge.net.
- ^ "eSpeak: Speech Synthesizer". espeak.sourceforge.net.
- ^ a b c "ESpeak: Speech synthesis - Browse /Espeak at SourceForge.net".
- ^ a b "eSpeak: speech synthesis / Code / Browse Commits". sourceforge.net.
- ^ "Espeak: Downloads".
- ^ http://espeak.sourceforge.net/test/latest.html [bare URL]
- ^ van Leussen, Jan-Wilem; Tromp, Maarten (26 July 2007). "Latin to Speech". p. 6. CiteSeerX 10.1.1.396.7811.
- ^ "Build: Allow portaudio 18 and 19 to be switched easily. · rhdunn/Espeak@63daaec". GitHub.
- ^ "Espeakedit: Fix argument processing for unicode argv types · rhdunn/Espeak@61522a1". GitHub.
- ^ "Switch to eSpeak NG in NVDA distribution · Issue #5651 · nvaccess/Nvda". GitHub.
- ^ "[Espeak-general] Taking ownership of the espeak project and its future | eSpeak: speech synthesis". sourceforge.net.
- ^ "[Espeak-general] Vote for new main espeak developer | eSpeak: speech synthesis". sourceforge.net.
- ^ Rebrand the espeak program to espeak-ng.
- ^ "Release 1.49.0 · espeak-ng/espeak-ng". GitHub.
- ^ Klatt, Dennis H. (1979). "Software for a cascade/parallel formant synthesizer" (PDF). J. Acoustical Society of America, 67(3) March 1980.
- ^ "espeak-ng". GitHub.
- ^ "ESpeak NG Text-to-Speech". GitHub. 13 February 2022.
- ^ a b Butgereit, L., & Botha, A. (2009, May). Hadeda: The noisy way to practice spelling vocabulary using a cell phone. In The IST-Africa 2009 Conference, Kampala, Uganda.
- ^ Hamiti, M., & Kastrati, R. (2014). Adapting eSpeak for converting text into speech in Albanian. International Journal of Computer Science Issues (IJCSI), 11(4), 21.
- ^ a b c d e f g h i j k l m n o p q r s t u v w x y z aa ab ac ad ae af ag ah ai aj ak al am an ao ap Kayte, S., & Gawali, D. B. (2015). Marathi Speech Synthesis: A review. International Journal on Recent and Innovation Trends in Computing and Communication, 3(6), 3708-3711.
- ^ Pronk, R. (2013). Adding Japanese language synthesis support to the eSpeak system. University of Amsterdam.
- ^ Mohanan, S., Salkar, S., Naik, G., Dessai, N. F., & Naik, S. (2012). Text Reader for Konkani Language. Automation and Autonomous System, 4(8), 409-414.
- ^ Kaur, R., & Sharma, D. (2016). An Improved System for Converting Text into Speech for Punjabi Language using eSpeak. International Research Journal of Engineering and Technology, 3(4), 500-504.