Commit Graph
1114 Commits
Author SHA1 Message Date
Reece H. Dunn 0fcc85de30 Merge remote-tracking branch 'ValdisVitolins/master' 2017-01-20 18:46:23 +00:00
Reece H. Dunn d42ba93959 Don't use the HOME directory as the espeak-ng-data path. 2017-01-20 18:27:10 +00:00
Valdis Vitolins c5355ed94e Fix for issue #69 Speaking '1,,2' in German only says 'eins'. 2017-01-20 19:37:04 +02:00
Reece H. Dunn 773da20c16 Support using home (data) paths other than 'espeak-ng-data'. 2017-01-19 22:04:20 +00:00
Reece H. Dunn 0367abf98f Support loading phoneme data files relative to the phsrc path. 2017-01-19 21:44:51 +00:00
Reece H. Dunn e372d84348 espeak-ng: add a <phsource-dir> argument to --compile-phonemes. 2017-01-19 21:23:22 +00:00
Reece H. Dunn eb91c8dfce espeak_ng_CompilePhonemeDataPath: Allow the user to specify the source and destination paths for the phoneme data. 2017-01-19 21:20:49 +00:00
Reece H. Dunn e0a598e968 Use variables for the phoneme source and destination paths. 2017-01-19 21:00:45 +00:00
Reece H. Dunn b67c463852 Inline CompilePhonemeData2 into espeak_ng_CompilePhonemeData. 2017-01-19 20:52:06 +00:00
Reece H. Dunn ca77ce928b CompilePhonemeData2: Inline the single use of the source parameter. 2017-01-19 20:50:07 +00:00
Reece H. Dunn 59ca718d40 Always use 'en' as the default voice/language. 2017-01-19 19:57:06 +00:00
Reece H. Dunn 96e34565ed Use a default buffer length of 60mS to fix using MBROLA voices. 2017-01-16 19:41:34 +00:00
Valdis Vitolins 7ad277e39e Fixed typo 2017-01-15 22:13:13 +02:00
Valdis Vitolins d9d7006d7a Comments about implementation for utf8_in2() 2017-01-15 22:08:39 +02:00
Valdis Vitolins 059543ceb0 Fix for issue #195 Different non-Latin diacritized consonants are wrongly considered as one doubled 2017-01-15 21:06:32 +02:00
Reece H. Dunn 2e84bbbcc8 Use autoconf to check for sys/endian.h. 2017-01-15 10:02:30 +00:00
Reece H. Dunn 58c655abae Use autoconf to check for endian.h. 2017-01-15 09:51:44 +00:00
Reece H. Dunn 006bd842c3 Fix indentation in wavegen.c. 2017-01-14 19:16:11 +00:00
Valdis Vitolins 640f0d8160 Typo fixes 2017-01-13 21:19:59 +02:00
Reece H. Dunn d828156576 Reduce buffer length to 50mS and don't override it when using eSpeak for audio. 2017-01-12 07:40:14 +00:00
Reece H. Dunn dae9cda060 Revert "issue 172: fix sluggish speech for stopped speech."
This reverts commit f9ab812e00.
2017-01-12 07:14:02 +00:00
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.
2017-01-12 07:07:35 +00:00
Reece H. Dunn 36d5a8b67b Revert "Don't reset the parameters unless they have been set."
This reverts commit 26e453dd2f.
2017-01-12 06:55:55 +00:00
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.
2017-01-11 07:30:19 +00:00
Reece H. Dunn 2ccaa7f002 Improve the IsLetterGroup comments. 2017-01-10 19:34:12 +00:00
Reece H. Dunn af1fae46de Fix formatting of the previous changes to match style guidelines. 2017-01-10 19:26:40 +00:00
Valdis Vitolins a621ad46e7 Implementation for issue #155 2017-01-09 19:05:54 +02:00
Reece H. Dunn ae3e411f67 Build the ar language files. 2017-01-08 15:33:09 +00:00
Reece H. Dunn 95b5b4d8a0 Add 'src/ucd-tools/' from commit '3b8016e4f5f415175abb966000c1ebd6f15a4697'
git-subtree-dir: src/ucd-tools
git-subtree-mainline: 4d3bc36c47
git-subtree-split: 3b8016e4f5
2017-01-07 09:43:17 +00:00
Eitan Isaacson 5f5fc4886b Add emscripten case to endian.h shim. 2017-01-05 10:29:25 -08:00
Reece H. Dunn e269ad33b0 Build the jp language files. 2017-01-02 12:06:18 +00:00
Reece H. Dunn f7ef3808f9 Move the Latvian and Lithuanian languages to the bat (Baltic) language family. 2016-12-29 21:43:18 +00:00
Reece H. Dunn 516699bbb2 Move the Basque language to the parent directory as it is a language isolate. 2016-12-29 21:33:56 +00:00
Reece H. Dunn f37a9a388d Move the Armenian languages to the Indo-European language family. 2016-12-29 21:29:37 +00:00
Reece H. Dunn 9bb9e98f84 Don't exclude the test voice directory.
This directory is no longer available, so the check is now
redundant.
2016-12-29 15:06:55 +00:00
Reece H. Dunn cd9cc8e6e2 Unicode Character Data 9.0.0 2016-12-28 20:16:35 +00:00
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.
2016-12-24 09:00:55 +00:00
Reece H. Dunn d2478cc453 Flush the audio if speech has stopped, drain the audio if speech is still active. 2016-12-23 19:34:13 +00:00
Reece H. Dunn bc674081cd Check the return from synth_callback in the second call to that function in Synthesize. 2016-12-23 19:17:18 +00:00
Reece H. Dunn a48576a364 Return ENS_SPEECH_STOPPED from Synthesize when the speech callback returns >1 to stop the audio. 2016-12-23 18:56:58 +00:00
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.
2016-12-21 16:00:51 +00:00
Reece H. Dunn f6536be5b2 Support determining the install path when installed to the 32-bit Windows program files directory. 2016-12-17 14:36:46 +00:00
Reece H. Dunn 0881659b80 endian.h: Use the Windows checks directly instead of creating a __WINDOWS__define. 2016-12-17 14:07:26 +00:00
Reece H. Dunn f4654f1e3f Extend the license of the endian.h modifications to match the original. 2016-12-17 14:04:53 +00:00
Reece H. Dunn c6d44dd963 Fix endian.h on Windows (remove the sys/param.h include). 2016-12-17 14:02:42 +00:00
Reece H. Dunn 7946e49092 Add PACKAGE_VERSION to the Windows config.h, to allow it to build. 2016-12-17 13:52:26 +00:00
Rui Batista b7a42e19a7 Remove commented code. 2016-12-11 18:54:12 +00:00
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.
2016-12-11 18:17:08 +00:00
Reece H. Dunn 02f0c83619 endian.h: Fix compilation on Linux. 2016-12-07 07:20:28 +00:00
Reece H. Dunn 55da41e085 endian.h: Use the compatibility shim conventions. 2016-12-07 07:18:53 +00:00