Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
8 years ago
Reece H. Dunn
36a2872b4b
Don't allow the gender property to be set in language files (they are only relevant in voice files).
8 years ago
Reece H. Dunn
1c5bbe31a4
Use LookupMnem in ReadVoiceFile when parsing lines.
8 years ago
Reece H. Dunn
d30cf6f0d7
Default voices/languages to be male to match the default voice.
8 years ago
Reece H. Dunn
f6147085cd
Use enumeration constants for the voice gender field values.
8 years ago
Reece H. Dunn
46cd5f48e1
Don't allow 'gender unknown' in voice/language files.
8 years ago
Reece H. Dunn
ea365af43c
Remove the 'dictdialect' feature.
8 years ago
Reece H. Dunn
6eaf1d2ddc
Look in espeak-ng-data/lang for voices.
This is to support splitting language specification (dictionaries)
from voice specification (phon*).
8 years ago
Reece H. Dunn
bb7630e4c1
Make len_path_voices a parameter to GetVoices.
8 years ago
Reece H. Dunn
022e4e82dd
Don't check if the MBROLA voice data is present on Windows.
With the original eSpeak Windows port, the MBROLA voices had to
be present in an mbrola folder of the espeak-data. This will be
different in espeak-ng, allowing the MBROLA voice files to be
located elsewhere on the system.
8 years ago
Reece H. Dunn
df6a2228b7
Use -EISDIR instead of -2 in GetFileLength for directories.
8 years ago
Reece H. Dunn
59ca718d40
Always use 'en' as the default voice/language.
8 years ago
Valdis Vitolins
640f0d8160
Typo fixes
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
4920ecc79c
Move espeak-data to espeak-ng-data to avoid conflicting with upstream espeak.
9 years ago
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.
9 years ago
Reece H. Dunn
aaf52c3a78
Remove unused variables.
9 years ago
Reece H. Dunn
b620f42775
voices: support a status annotation in voice files
9 years ago
Reece H. Dunn
7e3e2c3854
voices: support a maintainer annotation in voice files
9 years ago
Reece H. Dunn
4cde8b6d13
option_quiet is no longer used (always set to 0), so remove it
9 years ago
Reece H. Dunn
211f103a69
Perform case insensitive comparisons for matching voice names.
9 years ago
Reece H. Dunn
e8015df0f8
Remove the additional LoadVoice search heuristics.
These heuristics were designed to guess the location of the voice
files without searching the voice list. The heuristics are very
implementation dependent, and easily break when voices move around.
The voices are still found correctly, so these heuristics are
redundant.
9 years ago
Reece H. Dunn
c0d79709c4
Fix Windows includes (don't rely on speech.h).
9 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
9 years ago
Reece H. Dunn
142063f1e6
Remove a GCC incompatible pointer conversion warning in voices.c.
9 years ago
Reece H. Dunn
4ac6355834
Fix the realloc usage of voices in espeak_ListVoices(voices.c) [msvc /analyze]
9 years ago
Reece H. Dunn
11101806ce
Support building espeak-ng.exe with Visual C++.
9 years ago
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
9 years ago
Reece H. Dunn
d4dd2cacca
Fix the voice_dir logic in LoadVoice(voices.c) [clang scan-build]
9 years ago
Reece H. Dunn
cb3699746c
Check the return value of sscanf in LoadVoice(voices.c) [clang scan-build]
9 years ago
Reece H. Dunn
bc8297bf3c
Remove a dead assignment in LoadVoice(voices.c) [clang scan-build]
9 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
9 years ago
Reece H. Dunn
fb99a17b7f
new_translator may be NULL when processing the charset command [clang scan-build]
9 years ago
Reece H. Dunn
6aeb5a26f0
Replace the remaining espeak_ERROR code usage with espeak_ng_STATUS.
9 years ago
Reece H. Dunn
e69f0f41f0
Make LoadMbrolaTable return espeak_ng_STATUS.
9 years ago
Reece H. Dunn
df170d1c48
Create an espeak-ng version of espeak_SetVoiceBy(Name|Properties).
9 years ago
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
9 years ago
Reece H. Dunn
af75ed03e8
Fix building on Windows systems.
9 years ago
Reece H. Dunn
b11d540718
Fix GCC -Wunused-parameter warnings.
9 years ago
Reece H. Dunn
bc288a04f4
Implement espeak_SetVoiceByProperties directly from the SetVoiceByProperties implementation.
9 years ago
Reece H. Dunn
9ab5fad596
Implement espeak_SetVoiceByName directly from the SetVoiceByName implementation.
9 years ago
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf89c8e5561f833f961d8330059daaae
This commit has been reported to cause distortions in phoneme
pitches and speeds.
9 years ago
Reece H. Dunn
5bbc0d3743
Remove the PLATFORM_RISCOS code.
This is from the old espeak RiscOS port that has been removed.
If/when the espeak-ng program is ported to RiscOS, this will be
done in a different, more maintainable way.
9 years ago
Fredrik Nyqvist
14a2fb39cf
Declare variables at their first point of use
Also use size_t instead of int in some places
where it make sense
9 years ago
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
9 years ago
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
9 years ago
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
9 years ago
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
9 years ago
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
9 years ago
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
9 years ago