Commit Graph
26 Commits
Author SHA1 Message Date
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 a008fb4f8b espeakedit: move the spectseq.cpp code into spect.cpp 2015-12-13 10:22:38 +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 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 7afe4cf0bf Fix spect_data memory leak in SpectFrame::ImportSPC2 when nx is 0. 2015-10-04 14:28:55 +01:00
Reece H. Dunn 37b0e7c092 espeak 1.47.14 initializes FONT_SMALL/MEDIUM in a different place, so don't duplicate initialization 2013-11-29 23:59:32 +00:00
Reece H. Dunn 693c9a9966 Merge branch 'development'
Conflicts:
	docs/speak_lib.h
	src/main.h
	src/speak_lib.cpp
	src/spect.h
2013-11-29 23:43:03 +00:00
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
2013-11-29 22:16:55 +00:00
Reece H. Dunn fcaf5d9012 wxwidgets 3.0: move FONT_* construction to SpectFrame
When using wxWidgets 3.0, creating a wxFont requires the gtk+
library to be initialized. This is causing espeakedit to segfault.

SpectFrame::Draw is the only place where the FONT_* variables are
used, so move them into the SpectFrame class and create them in
the constructor.

Also, FONT_NORMAL is not used so it has been removed.
2013-11-16 00:53:39 +00:00
jonsd 11ba954486 Add some missing files to phsource.
Remove executable attribute from program source files.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@246 d46cf337-b52f-0410-862d-fd96e6ae7743
2010-06-25 19:14:09 +00:00
jonsd dd1623232f Fixes for Klatt synthesizer
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@234 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-12-16 00:03:31 +00:00
jonsd 0fc12016fa [1.40.21]
Fix: -g command option not working on Windows.
Fix: Text position value in events was limited to 16 bits.

[1.40.15]
espeakedit:  Change formant dialog to include Klatt parameters.
espeakedit:  Change the format of formant data to include Klatt parameters.
espeakedit:  Fix the frequency of F7,F8 at 7800Hz,9000Hz.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@220 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-05-29 11:48:39 +00:00
jonsd 1150d1d8da [1.39.28]
Added experimental Klatt synthesizer.
Klatt phonemes use a new format of phoneme data.
espeakedit, new dialog fields and layout for Klatt phonemes.
Added Klatt versions of English phonemes.

Fixed some compilation warnings on Windows.
Fixed bug in Lettergroups > L10

Increased amplitude of harmonics below F1 peak, to increase bass.
Allow 5 (up from 4) pairs of values in "tone" command in voice files.
Default to slightly wider pk_shape1.

If words are separated by hyphens, don't add word-gap, and don't pass new-word flag onto phoneme processing.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@203 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-11-22 22:25:29 +00:00
jonsd dd9fd5f27a [1.30.05]
Fix an error where vowels start too loud (too strong attack).

Added command-line option  --compile-debug, which is like --compile but it includes source line information from the *_rules file, which is displayed with the -X option. 

espeakedit: Added  Compile->Compile_dictionary(debug),

Fixed <emphasis> which was broken in the previous version(s).
<emphasis> now reduces the previous stressed syllable to secondary stress.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@119 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-11 00:36:01 +00:00
jonsd 3d97adb438 [1.29] lang=en, minor changes to phonemes [I] [V] [aI] [eI]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@80 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-08-27 12:57:24 +00:00
jonsd 5019e65842 [1.28.05] Changed names of voice variant files (espeak-data/voices/!v).
Moves "wisper" and "croak" into voices/!v.
Voice variants can now be specified as  en+wisper, en+f2 (for female 2), etc.
espeak --voices=variant  lists the voice variants.
Moves some lines from speech.h into other header files.
Possible fix for data version check on big-endian.
Fixed crash error iin LoadConfig().
Fixed crash in espeakedit: press Tab in enpty Prosody window.

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@74 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-08-17 12:58:34 +00:00
jonsd 05aeea7858 [1.27] Only keep one primary stress when adding prefixes.
Add stress_rule=4, altepenultimate stress.
Change license to GPL version 3.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@56 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-30 12:31:21 +00:00
jonsd 6a325e7781 [1.26.06] Fixed check for dot in abbreviations, for multibyte characters.
Defined a Revision number macro in speak_lib.h for interface changes.
Changes to formant rate smoothing so that it's proportional to frequency.
Add phoneme translations for mbrola "it3" "it4" Italian voices.
Added rule in *_rules files for "word starts with capital letter".


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@49 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-18 12:12:25 +00:00
jonsd 188b0d7c11 [1.26.05] Fix count of upper-case letters in a word to consider multibyte characters.
Mbrola translations, option to not match across a word boundary.
Mbrola translations, allow check of lengthen indicator [:].
espeakedit, add operation to apply a voice's formants modifications to a keyframe.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@47 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-14 18:41:52 +00:00
jonsd 8d59235f7a git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@1 d46cf337-b52f-0410-862d-fd96e6ae7743 2007-05-05 11:00:27 +00:00