Reece H. Dunn
d42ba93959
Don't use the HOME directory as the espeak-ng-data path.
8 years ago
Valdis Vitolins
c5355ed94e
Fix for issue #69 Speaking '1,,2' in German only says 'eins'.
8 years ago
Reece H. Dunn
773da20c16
Support using home (data) paths other than 'espeak-ng-data'.
8 years ago
Reece H. Dunn
0367abf98f
Support loading phoneme data files relative to the phsrc path.
8 years ago
Reece H. Dunn
eb91c8dfce
espeak_ng_CompilePhonemeDataPath: Allow the user to specify the source and destination paths for the phoneme data.
8 years ago
Reece H. Dunn
e0a598e968
Use variables for the phoneme source and destination paths.
8 years ago
Reece H. Dunn
b67c463852
Inline CompilePhonemeData2 into espeak_ng_CompilePhonemeData.
8 years ago
Reece H. Dunn
ca77ce928b
CompilePhonemeData2: Inline the single use of the source parameter.
8 years ago
Reece H. Dunn
59ca718d40
Always use 'en' as the default voice/language.
8 years ago
Reece H. Dunn
96e34565ed
Use a default buffer length of 60mS to fix using MBROLA voices.
8 years ago
Valdis Vitolins
7ad277e39e
Fixed typo
8 years ago
Valdis Vitolins
d9d7006d7a
Comments about implementation for utf8_in2()
8 years ago
Valdis Vitolins
059543ceb0
Fix for issue #195 Different non-Latin diacritized consonants are wrongly considered as one doubled
8 years ago
Reece H. Dunn
006bd842c3
Fix indentation in wavegen.c.
8 years ago
Valdis Vitolins
640f0d8160
Typo fixes
8 years ago
Reece H. Dunn
d828156576
Reduce buffer length to 50mS and don't override it when using eSpeak for audio.
8 years ago
Reece H. Dunn
dae9cda060
Revert "issue 172: fix sluggish speech for stopped speech."
This reverts commit f9ab812e00
.
8 years ago
Reece H. Dunn
a506dc5241
Fix setting saved_parameters in espeak_ng_Initialize.
This fixes a regression introduced in commit
e341068d57
.
This is needed for the case when espeak_Cancel is called before
calling espeak_Synth.
8 years ago
Reece H. Dunn
36d5a8b67b
Revert "Don't reset the parameters unless they have been set."
This reverts commit 26e453dd2f
.
8 years ago
Reece H. Dunn
26e453dd2f
Don't reset the parameters unless they have been set.
This is based on a patch by Samuel Thibault.
This is needed when espeak_Cancel is called before espeak_Synth,
like can be done in brltty.
8 years ago
Reece H. Dunn
2ccaa7f002
Improve the IsLetterGroup comments.
8 years ago
Reece H. Dunn
af1fae46de
Fix formatting of the previous changes to match style guidelines.
8 years ago
Valdis Vitolins
a621ad46e7
Implementation for issue #155
8 years ago
Reece H. Dunn
9bb9e98f84
Don't exclude the test voice directory.
This directory is no longer available, so the check is now
redundant.
8 years ago
Reece H. Dunn
f9ab812e00
issue 172: fix sluggish speech for stopped speech.
This restores the behaviour removed in commit
ca831d236a
.
When using eSpeak for audio and eSpeak in a server, using the async
speech requests, that code stopped the audio as soon as possible
from a cancel request. This allows servers like brltty to be more
responsive.
8 years ago
Reece H. Dunn
d2478cc453
Flush the audio if speech has stopped, drain the audio if speech is still active.
8 years ago
Reece H. Dunn
bc674081cd
Check the return from synth_callback in the second call to that function in Synthesize.
8 years ago
Reece H. Dunn
a48576a364
Return ENS_SPEECH_STOPPED from Synthesize when the speech callback returns >1 to stop the audio.
8 years ago
Reece H. Dunn
52abe35300
Revert "Stop audio output before fifo_stop is called"
This reverts commit 1b5ea47ea4
.
This patch is causing lockups when using this with servers like brltty.
8 years ago
Reece H. Dunn
f6536be5b2
Support determining the install path when installed to the 32-bit Windows program files directory.
8 years ago
Rui Batista
b7a42e19a7
Remove commented code.
8 years ago
Rui Batista
1b5ea47ea4
Stop audio output before fifo_stop is called
This allows process_espeak_command to stop as soon as possible
Using emacspeak server with espeak-ng (still not published) found that audio was only being stoped after a command is processed (i.e. using pcaudiolib).
This fixes this issue.
8 years ago
Reece H. Dunn
f5d266db97
Don't write random bytes to the end of _phtrans files.
Patch by Samuel Thibault.
8 years ago
Reece H. Dunn
8320581675
Fix running espeak-ng on big-endian architectures.
Patch by Samuel Thibault.
8 years ago
Christopher Brannon
1d8cec684b
Fix a tricky thread synchronization bug.
If a command ran to completion before the thread calling
fifo_add_command woke up, that thread would wait forever
for the command to start, never realizing that it had already
finished.
8 years ago
Christopher Brannon
0436ae71c0
Mutex needs to be locked when waiting on the condition variable.
8 years ago
Christopher Brannon
ad436e1172
Clear my_stop_is_acknowledged before waiting on it.
8 years ago
Christopher Brannon
2e9ec8e06a
Fix race condition.
8 years ago
Christopher Brannon
0177e1d686
Do not try to re-lock an already-locked mutex.
8 years ago
Reece H. Dunn
2893de65ac
Ensure that the code is consistently formatted.
8 years ago
Rui Batista
cc51af059f
Use condition variables in event.c instead of semaphores.
8 years ago
Rui Batista
34f315363b
Fix hang when waiting for condition variables.
8 years ago
Rui Batista
1bbba9bc3b
Use condition variables instead of semaphores in fifo.
8 years ago
Rui Batista
7b82e39793
Make strcpy calls in load dictionary copy at most 40 bytes so clang __strcpy_check does not get triggered (possible buffer overflow?)
8 years ago
Reece H. Dunn
547258e4bf
Use an Open Source implementation of ieee80.c.
9 years ago
Reece H. Dunn
f235c7cb00
Fix the version string references in '--version' and the Windows installer.
9 years ago
Valdis Vitolins
76ac24fbe4
Fixed TODO comment removed
9 years ago
Reece H. Dunn
6cf06a49ef
Add compatibility for the missing S_ISFIFO on Windows.
9 years ago
Reece H. Dunn
4920ecc79c
Move espeak-data to espeak-ng-data to avoid conflicting with upstream espeak.
9 years ago
Valdis Vitolins
92eae4f322
Updates for issue #103 Maximum group number which works is actually 62
9 years ago