Commit Graph
4390 Commits
Author SHA1 Message Date
Juho Hiltunen 5d03047c19 code cleanup: remove unused int vowel_transition[4]
There's two variables with the same name:
1) in struct PHONEME_DATA, used by *phdata, *phdata_next and *phdata_prev
2) an unnecessary one that's only being memset() twice but never used
   for anything
2020-07-21 16:14:25 +03:00
Juho Hiltunen a4041952c5 code cleanup: remove unused references to f_log
f_log is only used in compiledict.c.
2020-07-21 15:50:39 +03:00
Juho Hiltunen 713e8a9e2c code cleanup: remove unused parameter from SetUpPhonemeTable.
See commit 65847bd251. Bool recursing is not used for
anything anymore. Fixes a (compiler warning.
2020-07-21 15:50:29 +03:00
Juho Hiltunen 65847bd251 code cleanup: remove phoneme_tab_flags
It is memset and set once, but never checked or used for anything.
2020-07-21 12:39:59 +03:00
Juho Hiltunen c0ff3696b9 code cleanup: change global int current_phoneme table to static
It's only used in SpeakNextClause() and related to SelectPhonemeTable().

Another solution void be to keep SelectPhonemeTable() as a void function
and do a current_phoneme_table = voice->phoneme_tab_ix after the call to
SelectPhonemeTable().
2020-07-21 12:39:51 +03:00
Juho Hiltunen 992745508e code cleanup: pass voice_t wvoice as a parameter to Wavegen() instead of using a
global
2020-07-21 12:39:41 +03:00
Juho Hiltunen 3b4cca4832 code cleanup: combine Wavegen() and Wavegen2().
Wavegen2() only had one if-statement and then called
    Wavegen(). Wavegen() was never called directly.
2020-07-21 12:39:28 +03:00
Juho Hiltunen 9232f1911e code cleanup: remove unnecessary references to out_start.
Unsigned char *out_start is a global only used in speech.c.
2020-07-21 12:39:20 +03:00
Juho Hiltunen 388be80da7 code cleanup: pass voice_t wvoice as a parameter instead of using a global
SetSynth_Klatt() was using wvoice in two ways:
1) global wvoice was used directly
2) global wvoice was also passed in Wavegen_Klatt() as an argument "v"

Now the code only uses the function argument wvoice

Contributes to #68.
2020-07-21 12:39:12 +03:00
Juho Hiltunen 1b7c3303ef code cleanup: pass WGEN_DATA wdata as a parameter instead of using a global
Contributes to #68.
2020-07-21 12:39:03 +03:00
Juho Hiltunen 516144d63a code cleanup: combine Wavegen_Klatt() and Wavegen_Klatt2().
Wavegen_Klatt2() only had one if-statement and then called
Wavegen_Klatt(). Wavegen_Klatt() was never called directly.
2020-07-21 12:38:54 +03:00
Valdis Vitolins 04caefe54e Merge pull request #791 2020-07-21 12:12:58 +03:00
Valdis Vitolins 1b73cebeb9 Disable secondary stress for Cherokee 2020-07-17 10:09:31 +03:00
Valdis Vitolins 8aff6072e8 Remove BOM from files 2020-07-17 09:50:06 +03:00
Reece H. Dunn aafd2e7205 Update the changelog. 2020-07-10 11:11:57 +01:00
Tobias Platen a6dbed8168 add output hooks for wavegen 2020-07-07 21:53:03 +02:00
fukuen 92fb3d6378 improvement japanese 2020-07-08 00:32:12 +09:00
Valdis Vitolins 22a3043403 Merge pull request #788 2020-07-05 20:46:14 +03:00
Valdis Vitolins 21683e0d0e Merge pull request #787 2020-07-04 22:51:14 +03:00
Karl Eick 1c76c01ee0 Update hashsum 2020-07-04 22:50:03 +03:00
Karl Eick 830690be0d Fix issue #492 2020-07-04 22:49:54 +03:00
Valdis Vitolins cef02afc59 As MBROLA is optional, don't exit with error if mbrola is not found 2020-07-04 22:35:49 +03:00
Icenowy Zheng 00fe15cc28 cmn: use voiceless uvular fricative as pronounciation of pinyin h
According to [1] and [2] , the pronounciation of the pinyin character
h is not accurately [x].
According to [2], [χ] is instead a possible pronounication in young
users.

As a young native speaker of Mandarin, I feel the sound of [χ] in espeak
more satisfied than [x] here.

[1] https://en.wikipedia.org/wiki/Standard_Chinese_phonology
[2] https://phesoca.com/aws/268/

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-07-05 03:12:10 +08:00
Valdis Vitolins 1fb68ffffe Fix issue #773: wrong pronunciation of Hawaiʻi 2020-07-04 19:21:19 +03:00
Valdis Vitolins 26ae5a3e60 Update changelog 2020-07-04 19:11:37 +03:00
Valdis Vitolins 78683866d6 Merge pull request #786 2020-07-04 19:09:03 +03:00
Valdis Vitolins 53c59f46e9 Improve Turkmen language 2020-07-04 18:45:17 +03:00
Icenowy Zheng f1b2c29d09 zh_listx: fix bogus 冉冉 item
This item will lead `冉冉` to be pronounced 3 times rather than 2, and
it's not necessary because this character has no overloaded
pronounciation.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-07-04 22:39:16 +08:00
Reece H. Dunn 2abfb6c827 Merge remote-tracking branch 'danielbair/master' 2020-07-03 14:32:30 +01:00
Daniel Bair b56c9429bc Add check for kramdown so that both RONN and KRAMDOWN are set by configure script 2020-07-03 17:13:16 +07:00
Daniel Bair fd14487698 RONN is set by configure script 2020-07-03 10:12:34 +07:00
Valdis Vitolins 17c1b1370c Fix issue #652: Incorrect pronounciation of atelier 2020-07-02 23:26:14 +03:00
Valdis Vitolins 174daa2d16 Remove voice which differs from pablo only by name 2020-07-02 21:27:04 +03:00
Daniel Bair 6834b2f8c9 Update Makefile.am
Allows setting the path for ronn and kramdown
2020-07-02 09:56:47 +07:00
Michael Conrad ec99326d52 Misc Cherokee language fixes.
Switch to Portuguese /&~/ for <v>.
Use aveolar /d/ instead of dental /d[/.

The base phonemes file defines alveolar /d/ with the definition for a
dental /d[/ ????
2020-06-29 09:38:46 -04:00
Valdis Vitolins f2939490e1 Improvements for Latvian 2020-06-28 16:05:13 +03:00
Ejaz Shah d1c95d8b29 Improvements for Urdu 2020-06-28 16:02:35 +03:00
Valdis Vitolins 3660a44bdc Add test for MBROLA voice 2020-06-14 22:11:16 +03:00
Valdis Vitolins 238427184a Fix issue #772: setting buffer size to 50ms leads to truncated mbrola-fr4 output 2020-06-14 22:09:52 +03:00
Valdis Vitolins d32b32caf2 Merge pull request #771 2020-06-14 18:03:05 +03:00
Valdis Vitolins 24eb5b3cde Issue #757: add initial support for Thai language 2020-06-13 21:56:38 +03:00
Valdis Vitolins e6e4994a0d docs: use standard ronn and kramdown packages 2020-06-13 18:37:13 +03:00
Valdis Vitolins 232e8c6ddf Update changelog 2020-06-13 18:12:16 +03:00
Christianlm cfa269b73a Updates italian source dictionaries. 2020-06-13 11:32:34 +02:00
Thomas Perret 29b9109088 Import missing function symbol from DLL in mbrola wrapper 2020-06-10 10:26:10 +02:00
Valdis Vitolins cbf3c99fbd Merge pull request #770 2020-06-03 20:46:11 +03:00
Michael Conrad ae4c8ded41 weaken vowels to see if it helps with tablet sound of "anohla". 2020-06-01 13:09:41 -04:00
Michael Conrad 8faac4ed75 Cherokee language improvements. 2020-05-31 18:14:00 -04:00
Valdis Vitolins eb04601dc5 docs: add information about roadmap and 'easy fixes/good first issue' 2020-05-30 23:46:32 +03:00
Valdis Vitolins f36da63451 docs: add link to the eSpeak NG roadmap page 2020-05-30 20:54:39 +03:00