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
Reece H. Dunn
454c794c3a
endian.h: Remove additional blank lines.
2016-12-07 07:13:50 +00:00
Reece H. Dunn
636dc94aa1
endian.h: use C-style comments and wrap the comment to 80 characters.
2016-12-07 07:12:46 +00:00
Reece H. Dunn
4aade2fce7
Add an endian.h compatibility shim for portability.
2016-12-07 07:09:51 +00:00
Reece H. Dunn
f5d266db97
Don't write random bytes to the end of _phtrans files.
...
Patch by Samuel Thibault.
2016-12-07 06:56:28 +00:00
Reece H. Dunn
8320581675
Fix running espeak-ng on big-endian architectures.
...
Patch by Samuel Thibault.
2016-11-13 20:51:22 +00:00
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.
2016-10-10 21:02:15 -07:00
Christopher Brannon
0436ae71c0
Mutex needs to be locked when waiting on the condition variable.
2016-10-10 18:24:15 -07:00
Christopher Brannon
ad436e1172
Clear my_stop_is_acknowledged before waiting on it.
2016-10-10 18:16:34 -07:00
Christopher Brannon
2e9ec8e06a
Fix race condition.
2016-10-10 18:05:06 -07:00
Christopher Brannon
0177e1d686
Do not try to re-lock an already-locked mutex.
2016-10-10 18:04:16 -07:00
Reece H. Dunn
2893de65ac
Ensure that the code is consistently formatted.
2016-10-09 17:39:01 +01:00
Rui Batista
cc51af059f
Use condition variables in event.c instead of semaphores.
2016-10-09 17:20:31 +01:00
Rui Batista
34f315363b
Fix hang when waiting for condition variables.
2016-10-09 15:58:08 +01:00
Rui Batista
1bbba9bc3b
Use condition variables instead of semaphores in fifo.
2016-10-09 14:51:08 +01:00
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?)
2016-10-05 13:15:48 +01:00
Reece H. Dunn
547258e4bf
Use an Open Source implementation of ieee80.c.
2016-09-24 13:40:05 +01:00
Reece H. Dunn
a45b58d106
Fix the eSpeak NG project name used in '--version'.
2016-09-24 12:53:32 +01:00
Reece H. Dunn
f235c7cb00
Fix the version string references in '--version' and the Windows installer.
2016-09-24 12:51:29 +01:00
Reece H. Dunn
4bf9f0775f
Update the version to 1.49.1 (in development).
2016-09-24 12:45:10 +01:00
Valdis Vitolins
76ac24fbe4
Fixed TODO comment removed
2016-09-10 15:55:16 +03:00
Valdis Vitolins
5ef006e48e
Merge branch 'master' of https://github.com/espeak-ng/espeak-ng
2016-09-10 13:21:21 +03:00
Reece H. Dunn
34e51a464b
Disable the experimental SAPI voice for now.
2016-09-10 11:03:35 +01:00
Reece H. Dunn
37804e9e73
Build the Kyrgyx language on Windows.
2016-09-10 11:00:38 +01:00
Reece H. Dunn
6cf06a49ef
Add compatibility for the missing S_ISFIFO on Windows.
2016-09-10 10:24:46 +01:00
Reece H. Dunn
4920ecc79c
Move espeak-data to espeak-ng-data to avoid conflicting with upstream espeak.
2016-09-10 09:44:13 +01:00
Valdis Vitolins
92eae4f322
Updates for issue #103 Maximum group number which works is actually 62
2016-09-05 22:05:55 +03:00
Valdis Vitolins
dde9872eb7
Fix for issue #103 Maximum group number which works is actually 62
2016-08-31 23:48:32 +03:00
Ondřej Lysoněk
b784e77c57
Moved speak_lib.h to espeak-ng directory - the Windows part
2016-08-28 10:58:33 +01:00
Ondřej Lysoněk
3817ee1e16
Moved speak_lib.h to espeak-ng directory
...
Moved include/espeak/speak_lib.h to include/espeak-ng/speak_lib.h and
created a symlink from the original location.
2016-08-28 10:57:10 +01:00
Reece H. Dunn
21b3cf314c
Clean up the RULE_ constants in translate.h.
2016-08-28 10:40:02 +01:00
Valdis Vitolins
77d526102d
Fix for issue #120 Allow to decrease the score in the rule by adding -
2016-08-24 22:16:44 +03:00
Reece H. Dunn
8f44217e70
Fix wave file truncation when reading multiline text from stdin or FIFO (line-by-line reading mode).
2016-08-16 20:55:31 +01:00
Reece H. Dunn
3387c0e6ab
Don't add <...> around the 'words' text in the manual synopsis section.
2016-08-16 20:39:19 +01:00
Reece H. Dunn
326d199f49
List the help option when displaying the help message.
2016-08-16 20:38:38 +01:00
Ondřej Lysoněk
7659aaa2e8
Support reading input from named pipes
...
Added support for line-by-line input reading from unix FIFOs.
2016-08-15 18:56:57 +01:00
Valdis Vitolins
252c894e59
Issue espeak-ng/espeak-ng#120
...
Allow to decrease the score in the rule by adding
2016-08-07 16:13:16 +03:00
chrislm
d90c7f259a
Created spanish diphthongs [oi], added statements to distinguish final diphtong, Created file phoneme oo_ unstressed final vowel.
...
Replace upercase O in ditc source
Added statements for unstressed vowels, change length/amplitude for unstressed vowels.
improved spanish prosody in tr_language.c
Added rule for suffix mente in es_rules
Translated language names
Added rules for letter spanish ce cedilla, see issue 130
Intonation: improved head and prehead in tune q6
2016-07-22 18:43:27 +02:00
Christopher Brannon
3ed0b5cd0f
espeak_ng_Cancel(): discard the audio, don't close the device!
...
This function should just discard the currently playing audio,
rather than close the audio device. After all,
we will probably want to synthesize something else later.
2016-07-18 07:45:44 -07:00
chrislm
80da24bec7
Removed lengthen penultimate stressed vowels from dictionary.c lines 1469-1475. (See #80 ).
...
Fixed length stressed vowels in tr_language.c (see #80 ).
Improved phonemes, new statements for [a] and long close [o].
Added last improvements in italian dict source tested on april-may 2016.
2016-06-05 16:25:45 +02:00
Reece H. Dunn
d4bc2c328e
speech: Avoid warnings when using my_mode as a flag-based enumeration.
2016-06-05 08:53:23 +01:00