Lamashino
0f5316d6f5
Update tr_languages.c
Added initial support for Ido language (similar to Esperanto).
4 years ago
Juho Hiltunen
0352616de9
code cleanup: remove ununsed ctrl_embedded
It's a duplicate of CTRL_EMBEDDED.
5 years ago
Juho Hiltunen
725bdda564
code cleanup: remove unused variables
this_ph_data, N_WAV_BUF, option.device, harm_sqrt_n, max_hval, next_pause
5 years ago
Juho Hiltunen
68874a06f1
code cleanup: make NumInstnWords() static
5 years ago
Juho Hiltunen
ee944700f8
code cleanup: Check all local includes with include-what-you-use
Going through files in src/libespeak-ng/, include-what-you-use removed a
few unnecessary includes and included explanations on why a certain
header should be included. This makes tracking globals and dependencies easier.
Running the codebase through IWYU should be repeated after each major
code restIncludes to standard c library weren't checked to avoid
breaking builds with other platforms.
See https://github.com/include-what-you-use/include-what-you-use
5 years ago
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
5 years ago
Juho Hiltunen
a4041952c5
code cleanup: remove unused references to f_log
f_log is only used in compiledict.c.
5 years ago
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.
5 years ago
Juho Hiltunen
65847bd251
code cleanup: remove phoneme_tab_flags
It is memset and set once, but never checked or used for anything.
5 years ago
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().
5 years ago
Juho Hiltunen
992745508e
code cleanup: pass voice_t wvoice as a parameter to Wavegen() instead of using a
global
5 years ago
Juho Hiltunen
3b4cca4832
code cleanup: combine Wavegen() and Wavegen2().
Wavegen2() only had one if-statement and then called
Wavegen(). Wavegen() was never called directly.
5 years ago
Juho Hiltunen
9232f1911e
code cleanup: remove unnecessary references to out_start.
Unsigned char *out_start is a global only used in speech.c.
5 years ago
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 .
5 years ago
Juho Hiltunen
1b7c3303ef
code cleanup: pass WGEN_DATA wdata as a parameter instead of using a global
Contributes to #68 .
5 years ago
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.
5 years ago
Valdis Vitolins
1b73cebeb9
Disable secondary stress for Cherokee
5 years ago
Tobias Platen
a6dbed8168
add output hooks for wavegen
5 years ago
fukuen
92fb3d6378
improvement japanese
5 years ago
Valdis Vitolins
238427184a
Fix issue #772: setting buffer size to 50ms leads to truncated mbrola-fr4 output
5 years ago
Thomas Perret
29b9109088
Import missing function symbol from DLL in mbrola wrapper
5 years ago
BenTalagan
c96a0e409d
Fixing sequences of ? and !
5 years ago
BenTalagan
0d37ecbf94
Added additional tests in translate.c
5 years ago
BenTalagan
608bd41e73
Use another var to handle next to next char
5 years ago
BenTalagan
93fbca0e31
Fixing handling of sequence .' in english (potential acronym+genitive vs simple quote usage of apostrophe)
5 years ago
Valdis Vitolins
d17a5ecc53
Fix issue #546: add initial support for Ukrainian language
5 years ago
Reece H. Dunn
4aaef4c3e0
Fix additional warnings with addPluralSuffixes.
5 years ago
Reece H. Dunn
8352683e1b
Add a NUM_DEFAULT define.
5 years ago
Reece H. Dunn
ee1557ece2
Add defines for the numbers2 thousandplex bit flags.
5 years ago
Reece H. Dunn
1e04ce0fbf
Use the NUM2_SWAP_THOUSANDS constant instead of 0x200.
5 years ago
Reece H. Dunn
eb3c1eb985
Move the NUM2_ comments to the relevant defines.
5 years ago
Reece H. Dunn
915d51512a
Create a NUM2_THOUSANDS_VAR_BITS define.
5 years ago
Reece H. Dunn
e8f774326d
Align the NUM2_ bitmask defines to make them easier to read.
5 years ago
Reece H. Dunn
62e8efad66
Move the NUM_ comments to the relevant defines.
5 years ago
Reece H. Dunn
b8fbcf86ff
Separate the NUM_DFRACTION flags from the rest of the NUM_ bitmask flags.
5 years ago
Reece H. Dunn
5a8b7bdcfe
Align the NUM_ bitmask defines to make them easier to read.
5 years ago
Valdis Vitolins
f514bbcc8d
Fix 'implicit declaration of function ‘addPluralSuffixes’' C99/clang error
5 years ago
Valdis Vitolins
cf4809a1e5
Fix bug #706: pronunciation error with abbreviations followed by 's
5 years ago
Valdis Vitolins
541cd906f7
Issue #686: make description of --stdin more clear
5 years ago
Valdis Vitolins
c13b3e534b
Add parameter `all` for --voices to show all voices
Update documentation to show already existing features and for
newly introduced `all` parameter.
5 years ago
Valdis Vitolins
3f3f17f843
Fix #715: Need better error messages if MBROLA engine or voice files are missing
5 years ago
Reece H. Dunn
1a4590098c
Fix using the mbrola voices in Windows Subsystem for Linux.
5 years ago
Reece H. Dunn
812ea81319
fix #699: avoid samplerate clashing with LTO in gcc 10.
5 years ago
Reece H. Dunn
6926dfba72
fix #699: -Wlto-type-mismatch when using gcc with -flto=4.
5 years ago
Reece H. Dunn
7290b6f3cc
Fix using the mbrola voices in Windows Subsystem for Linux.
5 years ago
Reece H. Dunn
e11cd42b03
fix #699: avoid samplerate clashing with LTO in gcc 10.
5 years ago
Reece H. Dunn
5feff569cc
fix #699: -Wlto-type-mismatch when using gcc with -flto=4.
5 years ago
Valdis Vitolins
a99937f6c4
Remove Byte Order Marks from source files
5 years ago
Valdis Vitolins
b47a75f4e4
eSpeak NG 1.51-dev
5 years ago
Valdis Vitolins
b702b03996
eSpeak NG 1.50
5 years ago