Yury Popov
b996d39d40
splayer: fix memory leak on espeak terminate
2 years ago
Samuel Thibault
b5b3231e52
espeak-ng: Add -P option to configure pitch range
2 years ago
Juho Hiltunen
6362245b24
code cleanup: combine two identical if-clauses
2 years ago
Juho Hiltunen
e5f95289ad
code cleanup: remove setting unread variable.
2 years ago
Juho Hiltunen
745ae078fb
code cleanup: reduce variable scopes in compiledata.c
2 years ago
Juho Hiltunen
c496da5bf6
code cleanup: reduce duplication with new function CalculateSample()
2 years ago
Juho Hiltunen
bbfef6a269
code cleanup: reduce duplication with new function DollarRule()
2 years ago
Yury Popov
100df4c067
code cleanup: reduce return of static buffers
2 years ago
Yury Popov
29f7afc688
code cleanup: const vowels_be in SelectTranslator
2 years ago
Yury Popov
25c4dc150a
code cleanup: static phoneme_callback
2 years ago
Yury Popov
fdc2984386
code cleanup: static uri_callback
2 years ago
Yury Popov
f5ead44481
code cleanup: static current_phoneme_table
2 years ago
Yury Popov
504ab4937d
code cleanup: static current_voice_selected
2 years ago
Yury Popov
2ddb8ce2db
code cleanup: const embedded_default
2 years ago
Yury Popov
89b2a55ea4
code cleanup: remove static from WordToString
2 years ago
Yury Popov
5a37bc301b
code clanup: remove unused samplerate_native
2 years ago
Yury Popov
3de7c4cdb1
code cleanup: remove unused resample_count
2 years ago
Juho Hiltunen
7c13683b68
code cleanup: reduce code duplication with ReInterpretPhoneme().
Found with pmd-cpd scanner. The new function could probably be named better.
2 years ago
Juho Hiltunen
e8e5e06422
cleanup: remove redundant *next2
2 years ago
Juho Hiltunen
4cbe26b711
cleanup: refactor check for LOPT_REGRESSIVE_VOICING to SetRegressiveVoicing()
2 years ago
Juho Hiltunen
84609c27bd
cleanup: reduce variable scopes in phonemelist.c
2 years ago
Yury Popov
2929b9e199
code cleanup: use statics and consts when possible
2 years ago
Yury Popov
3da51991f8
code cleanup: reduce global externs
2 years ago
Yury Popov
24892aae06
Support deterministic PRNG mode in CLI
2 years ago
Yury Popov
09cdf8ce66
Add public API to seed PRNG
2 years ago
Yury Popov
1e279d3cb8
Add PRNG and use it instead of rand()
2 years ago
Yury Popov
98dc5c67e9
klatt: fix logic error causes buffer overrun
2 years ago
Yury Popov
adc6855c11
klatt: fix possible buffer overrun
2 years ago
Yury Popov
1e2404714d
code cleanup: localize compiledict static objects
2 years ago
Yury Popov
1565bab07a
code cleanup: localize compiledata static objects
2 years ago
Yury Popov
7ba91ef178
Allow <break> at the beginning of SSML
2 years ago
Yury Popov
38e0f4b1f5
Fix rate setting without libsonic
2 years ago
Yury Popov
44b514febf
Compensate SSML break time for libsonic
2 years ago
Yury Popov
7d0b6f3019
Revert "Compensate silence duration when sonic enabled"
This reverts commit 9f0b23f49e
.
2 years ago
Yury Popov
99c282640b
SSML: Check that skip marker is not empty
2 years ago
Yury Popov
ac3de913f2
Support unqouted attributes in SSML parser
2 years ago
Yury Popov
9f0b23f49e
Compensate silence duration when sonic enabled
2 years ago
Yury Popov
61de330443
Sync rate for SSML break duration
2 years ago
Samuel Thibault
14fc5cdb63
dictionary: Fix failure to look back
Firstly, a ~ match is supposed to match even if there's nothing left.
Also, when p doesn't match, we should not return immediately, but skip
to the next group.
Fixes #1507
2 years ago
Juho Hiltunen
3a3787b855
cleanup: use bool instead of int for condition_failed
2 years ago
Yury Popov
178afb10db
Flush sonic stream on rate reset
2 years ago
Juho Hiltunen
c5fac3185c
cleanup: join two adjacent if (only == false) blocks.
Note: The latter part is untested code.
2 years ago
Juho Hiltunen
ca0019b197
cleanup: use bool in LookupCharName()
2 years ago
Juho Hiltunen
acc43a76e4
cleanup: remove code duplication with UnGetC()
2 years ago
Juho Hiltunen
95e5c4458d
cleanup: remove duplication with DecodeWithPhonemeMode().
TODO: think of a better function name.
2 years ago
Juho Hiltunen
f53ebf469c
cleanup: remove code duplication with TerminateBufWithSpaceAndZero().
One redundant ix++ was removed because there's a return right after that.
2 years ago
kirill-jjj
ec5f868955
Russian: fix max_initial_consonants, now words льстят and льстит whill be fixed
2 years ago
Beqa Gozalishvili
e3487d0cf8
Android: Fix compatibility issues with some vendors
add tolower and toupper to be processed by ucd-tools in WCTYPE_H_COMPAT_SHIM
some vendors don't provide conformance with c standard in bionic
2 years ago
Juho Hiltunen
bdd46838c0
fix compiler warnings for unused variables and functions.
See commits ae97fa16
and a178ea1b
.
2 years ago
kirill-jjj
8e0e5d5c9c
Czech: Fix NUM2_THOUSANDS_VAR to use correct value for Czech, I'm serious, it used the Lithuanian var
2 years ago