Juho Hiltunen
b23e8a7269
maintainability: pass Translator as to towlower2() instead of using a global
7 years ago
Juho Hiltunen
f73ebfd126
maintainability: pass current_alphabet as argument to TranslateLetter() instead of using global
7 years ago
Juho Hiltunen
9012f3f0bf
headers: continue with synthdata.h
7 years ago
Juho Hiltunen
231a1d0944
headers: add new file dictionary.h with declarations of functions in dictionary.c
7 years ago
Juho Hiltunen
cd991bd2c9
headers: add new file numbers.h with declarations of functions in numbers.c
7 years ago
Juho Hiltunen
706df97b20
headers: add new file readclause.h with declarations of functions in readclause.c
7 years ago
Juho Hiltunen
079d5a92c5
remove more unnecessary speech.h includes
7 years ago
Juho Hiltunen
78749f14f8
readability fix: use boolean instead of 0 and 1 for loop control
7 years ago
Reece H. Dunn
8768cba0ae
numbers.c: Fix -Wmissing-prototypes warnings.
8 years ago
Reece H. Dunn
74f9f5e34b
wavegen.c: Fix -Wmissing-prototypes warnings.
8 years ago
Reece H. Dunn
9af96da469
Make the encoding.h API public.
8 years ago
Reece H. Dunn
7c16ac543c
Use the text decoder API in readclause.c.
8 years ago
Reece H. Dunn
5975f07095
Replace the *2 wchar/wctype APIs with their standard versions. These will be fixed using compatibility headers.
8 years ago
Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
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
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
2549b21f28
Remove a dead assignment in SetSpellingStress(numbers.c) [clang scan-build]
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
80914cc40e
Fix clang -Wunused-macros warnings.
9 years ago
Reece H. Dunn
f38a075575
The next_pause parameter of TranslateWord is not used, so remove it.
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
08b6ad3a00
Fix a logical check in numbers.c
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
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
f54252ea69
[1.48.15]
Language changes: en, fa, hr, pl, ta
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@389 d46cf337-b52f-0410-862d-fd96e6ae7743
10 years ago
jonsd
065a0e8f03
[1.48.14]
Language changes: af, en, eu, fa, hi, hu, id, it, mr, pl, ta.
zh (numbers)
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@388 d46cf337-b52f-0410-862d-fd96e6ae7743
10 years ago
jonsd
8165a3029c
[1.48.12]
Language changes: an, de, en, it, pt, ta, gu, hi, pa, ur.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@386 d46cf337-b52f-0410-862d-fd96e6ae7743
11 years ago
jonsd
24379e026d
[1.48.05]
Updated eSpeak makefile to inherit compiler options.
Language Greek (el): recognize polytonic spelling.
Language changes: en, gu, it, pt, ta, ur.
Language phoneme changes: de [r], hi [a:] [r].
Added phoneme table for Arabic.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@376 d46cf337-b52f-0410-862d-fd96e6ae7743
11 years ago
jonsd
227d37256e
[1.48.02]
Don't speak single letters as Roman Numbers (this is a fix needed for lang=pt).
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@373 d46cf337-b52f-0410-862d-fd96e6ae7743
11 years ago
jonsd
1ca65a170f
[1.47.15]
Language changes to: an, en, gu, it, pt, ta.
Superscripts and subscripts are spoken as single letters and numbers during njormal speech, and with "superscript" and "subscript" spoken when spelling.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@367 d46cf337-b52f-0410-862d-fd96e6ae7743
11 years ago
jonsd
e8b87dbf8c
[1.47.14]
Language changes:
an, en, es, fa, gu, it, pt, ta, te.
Voice files: added attribute 'dictdialect', eg:
dictdialect en-us
uses the US English voice to speak words or rules which are marked with _^_EN
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@366 d46cf337-b52f-0410-862d-fd96e6ae7743
11 years ago
jonsd
eaba1458d3
[1.47.13]
Program changes to enable audio output from Windows DLL.
Language changes: an, de, en, nl, ta.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@365 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago
jonsd
10bd23b3b4
[1.47.12]
Change program code for espeak/libespeak to C, remove C++ features.
Language changes: af, ga, grc, hu, nl, sw, ta
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@364 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago
jonsd
b5035d73f8
[1.47.11c]
Change API function: espeak_TextToPhonemes().
Fix bug: number following a non-ascii character could cause crash.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@361 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago
jonsd
9d17fb5482
[1.47.11a]
Fix: Flush stderr() after espeak_CompileDictionary().
Fix: parallel formant parameters for Klatt synthesizer.
Changes for Malayalam numbers.
Language changes: en-us, nl, pt, sl, ta, ur.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@359 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago
jonsd
4a670d0f57
[1.47.08]
Add API function: espeak_TextToPhonemes().
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@349 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago