Reece H. Dunn
9344dab0c3
Revert "maintainability: pass seq_len_adjust to LookupSpect() instead of using globals"
This reverts commit d08b8e43ca
.
This commit causes gcc-4.8 to output a different SHA1 hash on the
language-phonemes test for `af` (the first language tested). It
does not break on clang or on gcc-7 so may be a compiler bug,
however the Travis CI build server is using it on Ubuntu Trusty
(14.04 LTS) and so may other older OSes.
7 years ago
Juho Hiltunen
d08b8e43ca
maintainability: pass seq_len_adjust to LookupSpect() instead of using globals
7 years ago
Juho Hiltunen
29cba35a9e
headers: add new file mbrola.h with declarations of functions in compilembrola.c and synth_mbrola.c
7 years ago
Juho Hiltunen
f00ff91fe4
headers: add new file wavegen.h with declarations of functions in wavegen.c
7 years ago
Juho Hiltunen
231a1d0944
headers: add new file dictionary.h with declarations of functions in dictionary.c
7 years ago
Juho Hiltunen
07160f9286
headers: add new file synthdata.h with declarations of functions in synthdata.c
7 years ago
Juho Hiltunen
098904dfe0
headers: add new file setlengths.h with declarations of functions in setlengths.c
7 years ago
Juho Hiltunen
9d12d23d2a
headers: add new file intonation.h with declarations of functions in intonation.c
7 years ago
Juho Hiltunen
d1fd650219
Replace references to USHORT, DOUBLEX and UCHAR with unsigned short, double and unsigned char.
This makes the codebase more consistent. Including speech.h is not necessary anymore in some files. Includes have been removed.
7 years ago
Juho Hiltunen
78749f14f8
readability fix: use boolean instead of 0 and 1 for loop control
7 years ago
Juho Hiltunen
4f56345fb5
Use stdbool instead of int (Issue #8)
See issue #8, https://github.com/espeak-ng/espeak-ng/issues/8
There might still be some ints that could be changed to boolean.
Possible regressions in fifo.c:
int fifo_is_busy() and int fifo_is_command_enabled() used to return an int. Now they return a boolean. This might cause problems on systems where stdbool true/false is something else than 1/0.
7 years ago
Reece H. Dunn
74f9f5e34b
wavegen.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
9af96da469
Make the encoding.h API public.
8 years ago
Reece H. Dunn
ec8a7b810f
Use the text decoder object at the top-level Synthesize/espeak_TextToPhonemes call, not in TranslateClause.
8 years ago
Reece H. Dunn
7c16ac543c
Use the text decoder API in readclause.c.
8 years ago
Reece H. Dunn
8933185de4
Remove the unused f_in argument to the Read/Translate/SpeakNextClause functions.
8 years ago
Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
8 years ago
Reece H. Dunn
5e5289bcb5
compiledata: remove unused feature names.
8 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
4cde8b6d13
option_quiet is no longer used (always set to 0), so remove it
9 years ago
Reece H. Dunn
c4a7ffba33
Inline the call to SynthOnTimer.
9 years ago
Reece H. Dunn
a51717346c
SpeakNextClause should not call WavegenOpenSound.
This function call does not affect the audio output in non-async
modes. Audio output in that case is handled within the SynthOnTimer
helper function.
9 years ago
Reece H. Dunn
c09d255e38
Remove timer_on from synthesize.c as this matches the SpeakNextClause return value.
9 years ago
Reece H. Dunn
a471ba02bf
SynthStatus is not called, so remove it.
9 years ago
Reece H. Dunn
8df810f776
Remove paused from synthesize.c as it is now no longer used.
9 years ago
Reece H. Dunn
2eca970fc8
Remove the control 3-5 logic in SpeakNextClause as those values are not passed to the function.
9 years ago
Reece H. Dunn
69355ed568
Fix a null pointer dereference in DoVoiceChange(synthesize.c). [Coverity]
9 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
9 years ago
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
9 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
9 years ago
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
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
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
f10b2ccb85
Use the system's sonic files.
This allows newer versions of sonic to be used and to keep
up-to-date with bug fixes provided by the system.
9 years ago
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
9 years ago
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
9 years ago
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
9 years ago
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
9 years ago
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
9 years ago
Reece H. Dunn
08821f262f
Remove commented out code.
9 years ago
Reece H. Dunn
96cc9dbae2
Always build espeakedit specific data in libespeak-ng.
9 years ago
Reece H. Dunn
f7dfc38dd7
Use the C compiler to build C files; restructuring.
This moves the libespeak source (*.cpp) files to src/libespeak-ng
and renames the C files (libespeak, espeak, speak) so they have
a .c file extension.
9 years ago
Reece H. Dunn
5b3cf74f21
Remove StdAfx.h
StdAfx.h is only needed for Microsoft Visual Studio C++ projects
that specify the "use pre-compiled headers" setting.
9 years ago
jonsd
b27f69bb5a
[1.48.11]
Command-line: added options --sep --tie.
API, changed the meaning of the "phonememode" parameter in espeak_SetPhonemeTrace() and espeak_TextToPhonemes().
Language changes to: en, eu, pt.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@385 d46cf337-b52f-0410-862d-fd96e6ae7743
11 years ago
jonsd
992b4cf068
[1.48.08]
Added language "ia" (Interlingua).
Language changes: en, it, pt, ta.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@380 d46cf337-b52f-0410-862d-fd96e6ae7743
11 years ago