Commit Graph
100 Commits
Author SHA1 Message Date
Reece H. Dunn 9e643b5620 Fix clang -Wunreachable-code-break warnings. 2015-12-30 15:54:32 +00:00
Reece H. Dunn c1f0529747 DecompilePhoneme does nothing (returns before doing anything), so remove it (it was used to debug/trace CompilePhoneme). 2015-12-30 15:45:47 +00:00
Reece H. Dunn d9258426bd Fix GCC -Wsign-compare warnings. 2015-12-30 15:11:27 +00:00
Reece H. Dunn b11d540718 Fix GCC -Wunused-parameter warnings. 2015-12-30 15:01:31 +00:00
Reece H. Dunn 8771b1c29c The modn parameter of SetSynth_Klatt is not used, so remove it. 2015-12-30 09:18:22 +00:00
Reece H. Dunn 8091938430 The fill_zeros parameter of WavegenFill is not used, so remove it. 2015-12-30 09:06:19 +00:00
Reece H. Dunn f38a075575 The next_pause parameter of TranslateWord is not used, so remove it. 2015-12-30 08:58:36 +00:00
Reece H. Dunn 75758a9712 Fix GCC -Wunused-but-set-variable warnings. 2015-12-29 22:23:41 +00:00
Reece H. Dunn 010157e1f6 Fix the documentation on the max. number of letter groups. 2015-12-29 20:39:54 +00:00
Reece H. Dunn bc288a04f4 Implement espeak_SetVoiceByProperties directly from the SetVoiceByProperties implementation. 2015-12-29 17:24:59 +00:00
Reece H. Dunn 9ab5fad596 Implement espeak_SetVoiceByName directly from the SetVoiceByName implementation. 2015-12-29 17:15:43 +00:00
Reece H. Dunn 7afdd17fca Merge identical code branches in speak-ng. 2015-12-29 17:14:41 +00:00
Reece H. Dunn 230ddd9fe2 Generate build errors if phoneme or language data files contain errors. 2015-12-29 15:00:31 +00:00
Reece H. Dunn 16e317af1b Disable the equivalents table (this does not work properly). 2015-12-29 13:47:48 +00:00
Reece H. Dunn 1c0ba920ec Fix phoneme file errors produced when compiling the phoneme data 2015-12-29 13:37:38 +00:00
Reece H. Dunn dfdb4e2391 Remove the Error wrapper -- use error directly. 2015-12-29 13:00:11 +00:00
Reece H. Dunn 6821f0dab0 Use variable arguments to simplify error(...) usage. 2015-12-29 12:55:51 +00:00
Reece H. Dunn 17c61b25d7 Output phoneme compilation errors to stderr. 2015-12-29 12:41:04 +00:00
Reece H. Dunn 0496a8e6af Remove the no longer relevant praat changes from the README documentation. 2015-12-29 12:13:09 +00:00
Reece H. Dunn 80f228674d Link to the speak-ng.1 documentation in the README file. 2015-12-29 12:03:20 +00:00
Reece H. Dunn 80a6464ec9 Build the man pages as part of the build process. 2015-12-29 11:57:28 +00:00
Reece H. Dunn 063f4dbe40 Add documentation for speak-ng. 2015-12-29 11:47:50 +00:00
Reece H. Dunn d460f1c448 Support the additional --compile-... options in speak-ng. 2015-12-29 11:39:51 +00:00
Reece H. Dunn 89a7829244 Add --help documentation for --compile-debug. 2015-12-29 11:27:00 +00:00
Reece H. Dunn a77d246776 Be specific in the make command to build phoneme data. 2015-12-29 10:58:19 +00:00
Reece H. Dunn b8aa4a3559 Expand the README build documentation. 2015-12-29 10:56:33 +00:00
Reece H. Dunn db077dd3f7 Use portable rules to build the documentation. 2015-12-28 20:03:52 +00:00
Reece H. Dunn 6f4f6e573b Add the ACLOCAL_AMFLAGS option to Makefile.am. 2015-12-28 19:50:39 +00:00
Reece H. Dunn 522e7c4d51 Revert commit 14a2fb39cf
This commit has been reported to cause distortions in phoneme
pitches and speeds.
2015-12-28 17:54:17 +00:00
Reece H. Dunn 5d295bdd30 Merge remote-tracking branch 'nyqvist/master'
Conflicts:
	src/libespeak-ng/compiledict.c
	src/libespeak-ng/readclause.c
	src/libespeak-ng/speak_lib.c
	src/libespeak-ng/voices.c
	src/libespeak-ng/wave_sada.c
	src/libespeak-ng/wavegen.c
2015-12-28 13:14:46 +00:00
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.
2015-12-28 12:46:14 +00:00
Reece H. Dunn e69c936329 Remove the debugging code.
The debugging code is done inconsistently, mainly to trace the
event and audio output logic. This makes it harder to understand
the code flow for logic that is not enabled by default.

As such the debugging code makes the code harder to maintain.
2015-12-28 12:33:14 +00:00
Reece H. Dunn 7874411c4d Always include the #ifdef LIBRARY code. 2015-12-28 11:29:16 +00:00
Reece H. Dunn 19f9ed629b Remove the debugging code in OUTPUT_FORMAT and LIST_GROUP_INFO as this is not compiled by default. 2015-12-28 11:26:18 +00:00
Reece H. Dunn cc66180705 Remove the remaining SPECT_EDITOR code from espeakedit. 2015-12-28 11:18:48 +00:00
Reece H. Dunn 1a36df1206 Remove the remaining MAKE_ENVELOPES usage. 2015-12-28 11:16:35 +00:00
Reece H. Dunn 3e99752d0c Check and fix source code formatting. 2015-12-27 22:34:53 +00:00
Reece H. Dunn ac04c20dea Merge branch 'espeak-italian' 2015-12-26 20:01:38 +00:00
Reece H. Dunn 92e6d2b671 Fix and update the ssml.md documentation as markup.md. 2015-12-26 14:45:26 +00:00
Reece H. Dunn 2c70000d8a Fix and update the intonation.md documentation. 2015-12-26 14:17:48 +00:00
Reece H. Dunn 75719bf814 Fix and update the phontab.md documentation; merge in the relevant parts of the phonemes documentation. 2015-12-26 14:00:28 +00:00
Reece H. Dunn 35b71dcf2b Fix and update the mbrola.md documentation. 2015-12-24 13:43:53 +00:00
Reece H. Dunn 6e77ed807d Fix and update the voices.md documentation. 2015-12-24 13:05:08 +00:00
Reece H. Dunn f68f344e1d Fix and update the dictionary.md documentation. 2015-12-24 12:05:00 +00:00
Reece H. Dunn 3f8711154c Don't duplicate documentation between the README and add_language. 2015-12-23 22:02:59 +00:00
Reece H. Dunn 17f338d3a6 Remove the markdown files corresponding to HTML docs that are not relevant. 2015-12-23 21:59:32 +00:00
Reece H. Dunn 8744354626 Correct the links and names in index.md. 2015-12-23 21:56:56 +00:00
Reece H. Dunn 1a3b574b3b Remove the languages documentation as this is covered in add_language. 2015-12-23 21:52:43 +00:00
Reece H. Dunn 2489e21238 Fix and update the add_language.md documentation. 2015-12-23 21:50:23 +00:00
Reece H. Dunn 457e8f86e2 Merge docindex.html into index.md; remove espeakedit related documentation. 2015-12-23 17:01:31 +00:00
Reece H. Dunn e7ae2fde18 Incorporate the commands.html documentation in espeak-ng.1.ronn 2015-12-23 16:44:10 +00:00
Reece H. Dunn 8524a6aed6 Clean up the epspeak-ng man page; refer to espeak-ng, not espeak. 2015-12-23 16:04:46 +00:00
Reece H. Dunn fbeeb50a58 Import the Ubuntu man page for espeak in the ronn format. 2015-12-23 15:58:52 +00:00
Reece H. Dunn 32ad5a1283 Convert the index.html documentation to markdown. 2015-12-23 14:24:24 +00:00
Reece H. Dunn f0c2c4cca2 Remove extra newlines from the files to provide consistent spacing. 2015-12-23 11:32:03 +00:00
Reece H. Dunn d345d74f64 Remove braces around single-line if/while/for/etc. and related cleanup. 2015-12-22 20:40:10 +00:00
Reece H. Dunn 9a837c8182 Remove parentheses around return statements. 2015-12-22 16:24:01 +00:00
Reece H. Dunn 12e0bb122b Reformat the code using the uncrustify program. 2015-12-22 15:06:50 +00:00
Reece H. Dunn a60f7ae56c Don't use '$ ' at the start of build commands in the documentation. 2015-12-22 10:10:44 +00:00
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