Jonathan McDowell
2108b1e8ae
Add espeak_TextToPhonemesWithTerminator (#2127)
3 months ago
Samuel Thibault
034807a91d
LoadVoice: Warn when mbrola or klatt was not compiled in (#2148)
but the user requests it
Ref: #1807
3 months ago
thewh1teagle
34a730ec83
fix: conditionally link CoreAudio frameworks for macOS
4 months ago
thewh1teagle
3618dfb850
fix: link CoreAudio frameworks when using PCAUDIO on macOS
4 months ago
Samuel Thibault
3a04c042e6
TranslateRoman: avoid overflow
4 months ago
Samuel Thibault
f3b4112d29
TranslateClauseWithTerminator: fix overflowing number_buf (#2111)
5 months ago
Samuel Thibault
a3c87bd6c3
Fix numbers for slovak (#2110)
5 months ago
Samuel Thibault
b3f9f1fd8d
addPluralSuffixes: Also add heading \0 (#2106)
5 months ago
Samuel Thibault
f6ec04a2fb
RemoveEnding: Watch against looking up before word (#2105)
5 months ago
Samuel Thibault
a7be9c7e59
TranslateClauseWithTerminator: Avoid unbound read of word array (#2104)
5 months ago
Samuel Thibault
d890919134
vi: Fix overflow due to lengthmod (#2103)
5 months ago
Samuel Thibault
2c0f19cab7
TranslateNumber: Take care of ph_out end (#2101)
5 months ago
Samuel Thibault
353debbd7f
DollarRule: Avoid overflow (#2100)
5 months ago
Samuel Thibault
5039756364
TranslateClauseWithTerminator: keep more room in num_wtab (#2099)
5 months ago
Samuel Thibault
eed83cd937
Fix dropping last byte of stdin input (#2098)
5 months ago
Samuel Thibault
6d5199d1b1
mbrola: Fix overflow (#2094)
5 months ago
Samuel Thibault
bf8d06c478
TranslateClauseWithTerminator: Look out for filling num_wtab (#2093)
5 months ago
Samuel Thibault
b865bc8f95
LookupThousands, LookupNum3: Increase buffer size (#2092)
5 months ago
Samuel Thibault
e5b52dbd36
AppendPhonemes: Skip cleared item in phoneme_tab (#2091)
5 months ago
Samuel Thibault
fe53b1b29d
TranslateClauseWithTerminator: Also check against \0 (#2090)
5 months ago
Samuel Thibault
d57b907f0e
LookupLetter: Fix ph_buf3 buffer (#2089)
5 months ago
Samuel Thibault
91030d284e
MatchRule: Also check for \0 in dot backtracking (#2088)
5 months ago
Samuel Thibault
f76af837ca
IsLetterGroup: Also handle case when *word is already \0 (#2087)
5 months ago
Samuel Thibault
c1cdcfdcde
TranslateClauseWithTerminator: Add \0 head terminator (#2086)
5 months ago
Samuel Thibault
8afe77ba8e
Avoid underflowing ph_list3 (#2082)
5 months ago
Samuel Thibault
a5dc42e07a
MatchRule: Avoid unbound loop reading with utf8_in (#2077)
5 months ago
Samuel Thibault
992bf6edf6
libsonic: Fix support on big-endian archs (#2076)
5 months ago
Samuel Thibault
938fea0a93
klatt: Fix out-of-bound access (#2074)
5 months ago
Samuel Thibault
96f0dbfbb2
compiledict: make rgroup_sorter not depend on allocator (#2071)
5 months ago
Alexander Epaneshnikov
e809effe8e
release 1.52.0
2 years ago
Rotem Dan
7ad80656e5
Add stress marks to phoneme events (#1700)
The implications of this are large for using eSpeak-ng as a phonemizer. It means that it's now possible to get accurate mappings between the phonemized word and the original word (up till now it was pretty much impossible). This is huge for many applications that use it as a side-tool.
5 months ago
Luna Rose
f69dd80b68
Add Shavian script support
11 months ago
Test User
ab60b44cc9
Try adding fo to data.vcxproj
11 months ago
Test User
8e3ee9edab
Revert "Remove nonfunctional dictionaries"
This reverts commit 56a4c82d99
.
11 months ago
Test User
de480fc646
Remove nonfunctional dictionaries
11 months ago
Test User
d6c9c55d46
Apply fix from #1705
11 months ago
Danstiv
d930e10f1a
Fix new line conversion on windows
`#if PLATFORM_WINDOWS` doesn't work for some reason.
Fix suggested by @beqabeqa473
9 months ago
Paul Boersma
8d0acdd2b1
prevent data loss when converting intptr_t to int (#1973)
5 months ago
Samuel Thibault
5fe03820d7
VoiceFromStack: Also pass the identifier along the voice name
So that SelectVoice can select an mbrola language.
Fixes #1011
8 months ago
Samuel Thibault
b583cc8d80
SelectVoice: Also try to select an mbrola voice when we are told to
Otherwise we won't ever be able to select an mbrola voice in ssml
processing.
8 months ago
Samuel Thibault
87ebb9f0f4
ssml: Avoid spurious voice change event
We should initialize current_voice_id so that ssml processing knows what
voice we currently have, and not try to change it unless really needed.
8 months ago
Samuel Thibault
4425558ec6
espeakEVENT_SAMPLERATE: Do not mark as internal
When e.g. using mbrola voices, the sample rate may change. When the
application plays audio itself, it needs to know it, and
espeak_ng_GetSampleRate does not report that.
8 months ago
Alexander Epaneshnikov
4cdce46531
translate: return fix from 9f2ada457
this fix was lost in commit 84e967c0a, I can’t even imagine how it happened.
thank God it’s not me who was merging it.
6 months ago
Fabio Lima
8b442cbb21
Fix the replacement character in the input string (#2024)
The correction uses substitute character (0x001A) as a workaround. This
control character is the "older brother" of the replacement character
OxFFFD.
The workaround is necessary because the replacement character (0xFFFD)
is used to flag to indicate an error or EOF. The substitute character
(0x001A) was included as an alternative flag to indicate that the input
character itself is a replacement character (0xFFFD).
7 months ago
Casper H.S. Dik
86e98470fb
mbrola_is_idle: Make /proc checks work with Solaris /proc
Signed-off-by: Alan Coopersmith <[email protected] >
3 years ago
Samuel Thibault
b8ef3a6102
Fix inclusion of <sys/endian.h> (#2000)
Co-authored-by: adr-adr <adr@github>
8 months ago
Samuel Thibault
12a72b879f
mbrola: Note what we need to do to be able to switch language on the fly (#1995)
8 months ago
William Tambellini
4d4041f434
Enable PIC to ucd CMakeLists
https://github.com/espeak-ng/espeak-ng/issues/1972
9 months ago
c-armentano
16a7f64a96
Catalan: Major fixes (#1681)
Co-authored-by: Baybars Külebi <[email protected] >
Co-authored-by: gullabi <[email protected] >
Co-authored-by: mllopartbsc <[email protected] >
9 months ago
Jan Tojnar
7d31736c04
synth_mbrola: Add support for XDG_DATA_DIRS
On non-FHS systems like NixOS, there is no `/usr`. Additionally,
Nix has immutable packages so mbrola cannot be installed to espeak-ng’s
`datadir`. Instead, packages are expected to find data under one of the paths
listed in `XDG_DATA_DIRS` environment variable, as defined in the XDG Base
Directory Specification:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html#variables
11 months ago