Reece H. Dunn
0ad59a7f55
Support converting the markdown-based documentation to HTML.
2015-12-22 10:08:51 +00:00
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.
2015-12-21 14:46:18 +00:00
Reece H. Dunn
7d8b983ee7
strcasecmp is no longer used, so remove the compatibility code
2015-12-21 13:18:31 +00:00
Reece H. Dunn
f84fdc2d98
Don't call the no longer implemented DrawEnvelopes
...
This was part of espeakedit, and used wxWidgets to draw the
envelope graphs.
2015-12-21 12:02:06 +00:00
Reece H. Dunn
85c87e83a9
Remove the LOG_FRAMES code which was only used in espeakedit.
2015-12-20 19:49:20 +00:00
Reece H. Dunn
c874938b64
Merge branch 'espeak-italian'
2015-12-20 12:01:45 +00:00
Reece H. Dunn
1c6681e3d4
Make espeak-ng use strncpy0, etc. from libespeak-ng.
...
This removes the implementation of those functions from espeak-ng
and use the versions in libespeak-ng.
NOTE: This is needed to cross-compile to Windows.
2015-12-19 17:03:47 +00:00
Reece H. Dunn
bf64b4ec3b
The pk_shape_x and pk_shape_y variables are not used, so remove them.
2015-12-19 16:13:35 +00:00
Reece H. Dunn
4ec02683f1
Remove the unused ph_sorter function in compiledata.c
2015-12-19 16:09:31 +00:00
Reece H. Dunn
41ab4715d8
The group_tone_emph variable is set but not used, so remove it.
2015-12-19 13:42:45 +00:00
Reece H. Dunn
8486c5d678
The post_tonic variable is set but not used, so remove it.
2015-12-19 13:38:27 +00:00
Reece H. Dunn
08b6ad3a00
Fix a logical check in numbers.c
2015-12-19 13:34:11 +00:00
Reece H. Dunn
26b1e83b9c
Remove the unused PeaksZero function in spect.c
2015-12-19 13:29:03 +00:00
Reece H. Dunn
f099f6cc80
Remove the unused PrintPhonemesUsed function in compiledata.c
2015-12-19 13:26:44 +00:00
Reece H. Dunn
c1a5950605
Add instructions for cross-compiling for Windows on POSIX systems.
2015-12-18 22:11:27 +00:00
Reece H. Dunn
6aee7b721f
Fix a value conversion warning on 64-bit builds.
2015-12-18 21:41:50 +00:00
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
2015-12-18 21:41:28 +00:00
Reece H. Dunn
91cd9bdc21
Fix building espeak-ng using --with-mbrola=no
2015-12-18 20:52:02 +00:00
Reece H. Dunn
73920a543b
README.md: Update the documentation now mkdictlist is no longer used.
2015-12-18 07:25:57 +00:00
Reece H. Dunn
a47bf04657
Add copyright notices to files that are missing them.
2015-12-18 07:20:34 +00:00
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
2015-12-18 07:06:29 +00:00
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
2015-12-17 23:45:36 +00:00
Reece H. Dunn
4f02a09242
Incorporate the missing compatibility defines for Windows in speech.h.
2015-12-17 22:12:07 +00:00
Reece H. Dunn
967cfe4b9f
Some systems need -lm to use the math library functions.
2015-12-17 22:01:55 +00:00
Reece Dunn
296d62378b
Merge pull request #37 from michaelDCurran/allowNULLLogInCompilationFunctions
...
Allow compilePhonemeData and compileIntonations to be called with a NULL log argument
2015-12-17 12:37:21 +00:00
Reece Dunn
fe1e1f203d
Merge pull request #35 from michaelDCurran/loadSpectSeq_fclose
...
Stop leaking file streams in libespeak-ng's LoadSpectSeq function.
2015-12-17 12:36:33 +00:00
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
2015-12-17 07:40:24 +00:00
Reece H. Dunn
603f046154
Avoid implicit function messages when building the project.
2015-12-15 22:58:10 +00:00
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
2015-12-15 22:26:02 +00:00
Reece H. Dunn
08821f262f
Remove commented out code.
2015-12-14 23:13:56 +00:00
Reece H. Dunn
5edf8f8548
Remove the platforms directory.
...
The code portability will be provided through the autotools build
system. Any additional portability code will be provided in the
top-level source structure along side the other code (e.g. `src/compat`).
2015-12-13 18:48:37 +00:00
Reece H. Dunn
406d74b216
Restructure the Makefile to simplify its layout.
2015-12-13 18:41:56 +00:00
Reece H. Dunn
3d6b0d15d1
Remove wxWidgets and the remaining parts of espeakedit from the build.
2015-12-13 17:54:11 +00:00
Reece H. Dunn
bda5252b3f
espeak-ng: implement and use --compile-intonations and --compile-phonemes command-line options
2015-12-13 17:45:11 +00:00
Reece H. Dunn
8b358594f7
Expose the CompileIntonations and CompilePhonemeData functions via the espeak_ng.h API.
2015-12-13 17:28:56 +00:00
Reece H. Dunn
8218109400
Convert src/compiledata.cpp to src/libespeak-ng/compiledata.c.
2015-12-13 17:20:29 +00:00
Reece H. Dunn
408a12a79f
Convert src/spect.cpp to src/libespeak-ng/spect.c.
2015-12-13 16:57:21 +00:00
Reece H. Dunn
e2ba3703bb
espeakedit: remove wxWidgets from spect.cpp
2015-12-13 16:37:57 +00:00
Reece H. Dunn
7d3a8f9983
LoadSpectSeq: use an fread API to read wxInputStream data
...
This creates an fread compatible API on wxInputStream objects and
uses that API in LoadSpectSeq. This is to help the transition from
the wxWidgets wxInputStream API to the C FILE API.
2015-12-13 14:33:01 +00:00
Reece H. Dunn
56ddf6c339
espeakedit: remove wxWidgets from compiledata.cpp
2015-12-13 12:54:41 +00:00
Reece H. Dunn
d1b06c6591
espeakedit: convert SpectSeq to a struct
2015-12-13 12:21:39 +00:00
Reece H. Dunn
6ad68e2082
espeakedit: convert SpectFrame to a struct
2015-12-13 12:07:00 +00:00
Reece H. Dunn
e5610301b0
espeakedit: move the definition of SpectFrame::GetRms out of the class
2015-12-13 11:41:44 +00:00
Reece H. Dunn
cfb0a8a111
espeakedit: move the definition of SpectFrame::Load into spect.cpp
2015-12-13 11:36:03 +00:00
Reece H. Dunn
bb2d73a875
espeakedit: move the definition of GetFrameLength into spect.cpp
2015-12-13 11:30:52 +00:00
Reece H. Dunn
d35da4b8b8
espeakedit: inline SpectSeq::Load2 into SpectSeq::Load
2015-12-13 11:25:26 +00:00
Reece H. Dunn
c5407fe147
espeakedit: remove unused methods from spect.h
2015-12-13 11:20:45 +00:00
Reece H. Dunn
aa3bc83139
espeakedit: remove support for importing the old SPC2 files (these are not present when building the project)
2015-12-13 11:03:44 +00:00
Reece H. Dunn
ab9e1d9b4e
espeakedit: remove the epseakedit praat data import code
2015-12-13 10:40:51 +00:00
Reece H. Dunn
1a19319979
espeakedit: move the remaining prosodydisplay.cpp code into compiledata.cpp
2015-12-13 10:29:41 +00:00
Reece H. Dunn
a008fb4f8b
espeakedit: move the spectseq.cpp code into spect.cpp
2015-12-13 10:22:38 +00:00
Reece H. Dunn
d64df4c0a2
espeakedit: remove wxWidgets from prosodydisplay.cpp
2015-12-13 09:03:52 +00:00
Reece H. Dunn
3fde1a2d53
espeakedit: simplify and inline the ConfigInit logic
2015-12-13 08:59:13 +00:00
Reece H. Dunn
917619c914
espeakedit: further removal of code not relevant to --compile
2015-12-13 08:17:21 +00:00
Reece H. Dunn
50377416cf
espeakedit: remove all but the --compile support
...
This removes the GUI part of espeakedit, keeping the part that is
responsible for compiling the voice and intonation data. The
motivation for this is:
1. the voice and intonation data compilation will move into
libespeak-ng after removing the wxWidgets logic and converting
the code to C;
2. the espeakedit code is tightly coupled to the internals of
libespeak-ng at a source code level, not a binary/API level,
making the code harder to maintain;
3. a new GUI will be written in Qt that better supports creating
and editing voices and languages.
2015-12-12 22:37:47 +00:00
Reece H. Dunn
bd608a8451
CompileIntonation: pass the file to log errors to as a parameter
2015-12-12 18:54:26 +00:00
Reece H. Dunn
0a48ca015f
compiledata - don't include options.h
...
This is part of the process of making compiledata.cpp independent
of espeakedit.
2015-12-12 17:50:45 +00:00
Reece H. Dunn
83d26f48fc
compiledata - don't include main.h
...
This is part of the process of making compiledata.cpp independent
of espeakedit.
2015-12-12 17:43:54 +00:00
Reece H. Dunn
156c622ed6
Rename compiledata.c => compilembrola.c.
2015-12-12 17:03:48 +00:00
Reece H. Dunn
cf872e5e5a
Use espeak-ng to build the mbrola voices, not espeakedit.
2015-12-12 13:36:34 +00:00
Reece H. Dunn
6bd44bd926
espeak-ng: implement a --compile-mbrola command-line option
2015-12-12 13:27:37 +00:00
Reece H. Dunn
b8378c2667
Expose the CompileMbrola function via a new espeak_ng.h API.
2015-12-12 12:29:48 +00:00
Reece H. Dunn
257b6b33a5
Move CompileMbrola to libespeak-ng.
2015-12-12 11:26:20 +00:00
Reece H. Dunn
4e4a0e8f40
frame_t3 is not used, so remove it
2015-12-12 09:58:05 +00:00
Reece H. Dunn
aeed4dcf59
Remove mkdictlist -- this was used for importing upstream espeak versions.
2015-12-12 09:51:25 +00:00
Reece H. Dunn
72ebe9d25e
Remove the executable flag from some merged files.
2015-12-12 09:48:03 +00:00
Reece H. Dunn
186916afb6
Remove the code within '#ifdef deleted' statements.
2015-12-12 09:46:03 +00:00
Reece H. Dunn
96cc9dbae2
Always build espeakedit specific data in libespeak-ng.
2015-12-11 20:56:24 +00:00
Reece H. Dunn
d9771ada20
Link speak-ng to the static library build of libespeak-ng.
2015-12-11 20:41:18 +00:00
Reece H. Dunn
74b461070f
Use LT_INIT to initialize libtool.
2015-12-11 20:29:29 +00:00
Reece H. Dunn
83939f3b08
Fix references to espeak-ng in the README.
2015-12-11 20:06:04 +00:00
Reece H. Dunn
aa363fde6d
Update the AC_INIT details.
2015-12-11 20:03:57 +00:00
Reece H. Dunn
ac31d7d5a8
Use eSpeak NG consistently to refer to the new project.
2015-12-11 20:03:01 +00:00
Reece H. Dunn
a00ad5ed94
Use libespeak_ng consistently in the makefile.
2015-12-11 19:50:06 +00:00
Reece H. Dunn
1e2b619b24
Update the documentation to use espeak-ng, etc.
2015-12-11 19:36:32 +00:00
Reece H. Dunn
a02b3489ae
Rename libespeak.la => libespeak-ng.la.
2015-12-11 19:11:38 +00:00
Reece H. Dunn
db8451e9a2
Rename speak => speak-ng.
2015-12-11 07:30:17 +00:00
Reece H. Dunn
cf1f15af76
Rename espeak => espeak-ng.
2015-12-11 07:25:50 +00:00
Reece H. Dunn
d6ab370abc
Use autoscan output to update configure.ac.
2015-12-11 07:14:57 +00:00
Reece H. Dunn
66aa52e485
Define a compatibility macro for platforms that don't have S_ISDIR.
2015-12-10 22:26:35 +00:00
Reece H. Dunn
1042d88f56
Use S_ISDIR instead of S_IFMT/S_IFDIR to fix building with gcc in c11 mode.
2015-12-10 22:20:51 +00:00
Reece H. Dunn
ca5f651d1d
espeak-ng requires a C11 compiler, so document and check this
2015-12-10 19:42:27 +00:00
Reece H. Dunn
3ca931f55f
Move speak_lib.h to src/include/espeak-ng.
2015-12-10 07:24:10 +00:00
Reece H. Dunn
f185786b87
Move libespeak-ng internal headers to src/libespeak-ng.
2015-12-10 07:14:37 +00:00
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.
2015-12-09 23:33:00 +00:00
Reece H. Dunn
1e01ce9202
Use C linkage for all libespeak internal headers.
...
The libespeak files are supposed to be C code, so use C linkage
for all the functions defined in that code when they are being
referenced in the C++ code (i.e. espeakedit).
2015-12-09 22:35:48 +00:00
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.
2015-12-09 21:18:49 +00:00
Reece H. Dunn
ebb5c28c9c
Remove portaudio1{8,9}.h -- these are included from the system.
2015-12-09 20:58:59 +00:00
Reece H. Dunn
2ce955c387
Remove tr_languages.h -- it is not used and is empty.
2015-12-09 20:48:03 +00:00
Reece Dunn
e120a6cd68
Merge pull request #1 from ValdisVitolins/master
...
Some language files added/modified to synchronize with other sources
2015-12-08 21:23:31 +00:00
Reece H. Dunn
295fa9ce42
README.md: restructure the README for the espeak-ng project
2015-12-08 21:10:08 +00:00
Reece H. Dunn
c885d1543e
Take the mbrola voice sample rate from the mbrola wav file.
2015-12-07 20:36:00 +00:00
Reece H. Dunn
6998c3888f
Add support for the br2 MBROLA voice.
2015-12-07 19:46:14 +00:00
Reece H. Dunn
9826e9cc30
Initial support for SSML phoneme tags.
2015-11-28 13:57:56 +00:00
Reece H. Dunn
7214b4abfa
Merge branch 'espeak-italian'
2015-11-28 11:41:16 +00:00
Reece H. Dunn
7c30e8c7d7
Use -fPIC to support sparc/sparc64 architectures.
...
This is based on a patch by Thomas Petazzoni.
2015-11-28 11:28:14 +00:00
Reece H. Dunn
98e9bee133
Makefile.am: fix the reference to wave_sada.cpp (reported by Ken Perry)
2015-10-11 20:23:42 +01:00
Reece H. Dunn
ac92aad239
Merge branch 'espeak-italian'
2015-10-11 20:20:30 +01:00
Reece H. Dunn
5ced1540f5
Merge remote-tracking branch 'thomasguillory/master'
2015-10-11 19:58:57 +01:00
Reece Dunn
3ef88bc130
Merge pull request #70 from jimregan/patch-1
...
Missing space
2015-10-11 19:49:42 +01:00