Commit Graph
3262 Commits
Author SHA1 Message Date
Juho Hiltunen da287fb851 Unify terminology for stress
synthesize.h now contains the definitions STRESS_IS_... that should be used with code related to syllable stress.

Note that isBreak and other defines were renumbered so that stress definitions could have values 0-6.

Possible TODOs:
1. Unify with terms used with phonemes, i.e. keywords like isDiminished in compiledata.c and stress_type in phsource/phonemes
2. Add functionality and documentation about STRESS_IS_PRIORITY and STRESS_IS_EMPHASIZED
2018-01-14 15:26:03 +02:00
Juho Hiltunen 88315250ff readability fix: use boolean instead of 0 and 1 for loop control 2018-01-14 15:22:37 +02:00
Valdis Vitolins 3dea33965e lv: different improvements 2018-01-11 20:53:58 +02:00
Valdis Vitolins 7fb620505d lt: fix missed configuration after joined phoneme traslation file 2018-01-11 18:49:01 +02:00
Valdis Vitolins 966c07cb56 hak: updates from Chen Chien-ting 2018-01-11 18:32:33 +02:00
Reece H. Dunn 27985b0727 gn: build the dictionary file when running 'make' 2018-01-10 07:51:21 +00:00
Reece H. Dunn 4b05024928 hr: fix specifying the Croatian dictionary now that the hbs dictionary has been split due to emoji support 2018-01-10 07:42:41 +00:00
Reece H. Dunn 6a03a400f6 voices: remove the byte order mark from the Michael voice variant to fix the bad language attribute 2018-01-10 07:39:27 +00:00
Reece H. Dunn 42f4e7eed2 de: fix the HAPPY vowel for the mb-de5-en and mb-de6-en voices. 2018-01-09 21:18:41 +00:00
Reece H. Dunn 9812e009d7 de: fix running 'make check' with the voice changes 2018-01-09 07:39:00 +00:00
Reece H. Dunn 0527537864 de: restore the mbrola phonemes for using the German voices to speak English and Spanish. 2018-01-09 07:37:03 +00:00
Reece H. Dunn 8bdaa23e1e de: fix building the German voice. 2018-01-09 07:30:57 +00:00
Reece H. Dunn d6ae83f9b5 Merge remote-tracking branch 'hozosch/master' 2018-01-09 07:25:50 +00:00
KarlEick 9be1aaed42 improvements for german
These are some improvements to the german voices, both default and mbrola. It fixes some sounds of phonemes and also pronunciation of words. I also modified the mbrola phoneme and voice files to make them sound more natural. The stressLength setting is that it matches the way espeak deals with the lengths.
2018-01-08 22:14:29 +01:00
Chen, Chien-ting e5d057cf77 modified the rule or initial r- and the pronouncing rule of v 2018-01-06 14:45:26 +00:00
Chen, Chien-ting 4b7a40bd1f mistakes in hakka about ui1 etc 2018-01-06 14:45:11 +00:00
Chen, Chien-ting 4519d2a8e4 add hakka sandhi and footnotes 2018-01-06 14:44:54 +00:00
Chen, Chien-ting e8fbe6a5af add hakka sandhi 2018-01-06 14:44:31 +00:00
Chen, Chien-ting 7994cf64e6 improve translation of 'ie' 2018-01-06 14:44:02 +00:00
Chen, Chien-ting 19754bc66e improve the tone changing 2018-01-06 14:43:46 +00:00
Valdis Vitolins 02b987f565 dv: comment about unused code added 2018-01-06 14:41:57 +00:00
Valdis Vitolins 2f8d410055 bpy: fixed abbreviation for Manipuri language 2018-01-06 14:40:15 +00:00
Reece H. Dunn 314e9f2e36 docs/add_language.md -- fix a typo: s/thee/the/. 2017-12-29 11:05:02 +00:00
Reece H. Dunn 9dc755f9ea Don't add an empty hak_emoji file -- emoji files are optional. 2017-12-29 11:03:42 +00:00
Valdis Vitolins 75e42d6870 hak: Initial support added for Hakka Chinese by Chen Chien-ting 2017-12-29 12:46:42 +02:00
Valdis Vitolins ea354c06fe doc: updated description about tr_languages.c file 2017-12-29 12:31:06 +02:00
Valdis Vitolins 5a0af78af9 3-letter language code constants replaced with C macro L3() 2017-12-29 12:08:23 +02:00
Valdis Vitolins ee80a5b101 lt: Mbrola — as mapping is the same, only one phoneme mapping file left 2017-12-26 22:38:28 +02:00
Valdis Vitolins 99cbb4f03b fr: fix by Shallowmallow for #355 Bad pronunciation in French "qua" 2017-12-26 15:43:37 +02:00
Valdis Vitolins 0df3c15360 fr: fix for issue #350 — Bad Pronunciation in French ɔ̃ 2017-12-26 14:31:52 +02:00
Valdis Vitolins 73aacad44d doc: more details about configuration files 2017-12-26 14:07:44 +02:00
Valdis Vitolins a46e28f8a9 Fix issue #296: The Russian voice speaks faster than the English one 2017-12-26 13:57:17 +02:00
Valdis Vitolins 74b35a2616 doc: default sped value fixed 2017-12-24 16:54:50 +02:00
Valdis Vitolins f4f2bcf557 cmn: voice speed and pitch range adjusted to make it more natural 2017-12-24 12:24:44 +02:00
Valdis Vitolins d14d154c71 cmn: Initial support for Mbrola cn1 voice (Mandarin Chinese) added 2017-12-24 00:23:23 +02:00
Valdis Vitolins a1862e799f doc: more control flags described 2017-12-23 23:48:41 +02:00
Valdis Vitolins 64ba25c2b1 cs: Mbrola voice mb-cz1 added 2017-12-23 18:32:42 +02:00
Valdis Vitolins 6c1e693d21 doc: Updated description of Mbrola voices 2017-12-23 18:27:43 +02:00
Valdis Vitolins ccf3b6a56e Merge branch 'master' of https://github.com/espeak-ng/espeak-ng 2017-12-22 00:55:33 +02:00
Reece H. Dunn ecd0902a10 Revert "Move most stress rule definitions from tr_languages.c to language files"
This reverts commit 0f55204522.

This breaks using voice files like mb-de5-en. It could also use
named values for the stress rules (e.g. 'first-syllable').
2017-12-21 21:58:46 +00:00
Valdis Vitolins 99a964fb15 ar: fixed config files 2017-12-14 21:59:04 +02:00
Reece H. Dunn 80ebc39d93 Update the emoji translations to CLDR 32. 2017-12-14 07:52:39 +00:00
Reece H. Dunn a61a0e6523 Merge remote-tracking branch 'jaacoppi/maintainability' 2017-12-10 20:05:47 +00:00
Juho Hiltunen 0f55204522 Move most stress rule definitions from tr_languages.c to language files
Keyword stressRule in voices.c handles setting langopts->stress_rule.

tr_languages.c still contains the setting for some languages that don't have a language file yet.

Contributes to:
Issue #218, https://github.com/espeak-ng/espeak-ng/issues/218
2017-12-10 21:05:21 +02:00
Juho Hiltunen 2ec4ad38ea Use stressRule instead of stressrule for consistency 2017-12-10 21:05:20 +02:00
Juho Hiltunen 6042eb8d1e Move handling of SetLetterVowel() to language files
Contributes to:
Issue #218, https://github.com/espeak-ng/espeak-ng/issues/218

Changes:
language files have a new keyword letterVowel. It can be a latin alphabet from a-z or a hex value (used by bulgarian).
Errors in parsing the values are only reported, nothing is done about them.

About testing:
I haven't noticed any differences in the output audio with letterVowel set or unset in any tested language. The code seems to work and the correct bits seem to be set, but I don't know how to confirm from the final audio.

TODO:
1. Write better documentation in docs/voices.md
2. The code uses new_translator. Should it use translator instead?
2017-12-10 21:04:36 +02:00
Reece H. Dunn ec902dbaa6 Merge remote-tracking branch 'jaacoppi/maintainability' 2017-12-10 18:24:23 +00:00
Juho Hiltunen 4f56345fb5 Use stdbool instead of int (Issue #8)
See issue #8, https://github.com/espeak-ng/espeak-ng/issues/8

There might still be some ints that could be changed to boolean.

Possible regressions in fifo.c:
int fifo_is_busy() and int fifo_is_command_enabled() used to return an int. Now they return a boolean. This might cause problems on systems where stdbool true/false is something else than 1/0.
2017-12-09 17:34:05 +02:00
Reece H. Dunn e7e5ee7d46 en: fix hundred, none, and one. 2017-12-09 07:39:20 +00:00
Reece H. Dunn 48fbd780da Merge remote-tracking branch 'linuxscout/master' 2017-12-07 20:56:11 +00:00