Commit Graph
67 Commits
Author SHA1 Message Date
jonsd de52d78665 [1.42.03 release]
Allow .txt release for *_rules and *_list files.
Rules lookup, consider multi-byte characters when calculating matchign points.
Fix bug in Roman Number translation.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@232 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-12-08 17:59:06 +00:00
jonsd e404310b8f [1.42.02]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@231 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-11-30 13:54:30 +00:00
jonsd f2eed5229e [1.41.32]
lang=hu, ordinal number fixes
--punct, changes to intonation of punctuation names.
Add language option: don't stress second part of hyphenated words.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@230 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-11-09 13:11:13 +00:00
jonsd 7fc0ab97e1 [1.41.17]
espeakedit: add "format *_rules file" feature.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@228 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-10-16 09:35:25 +00:00
jonsd 1ef2aa6091 [1.41.15]
Fixes to: announce punctuation ( --punct option)


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@227 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-10-12 16:38:17 +00:00
jonsd 646f5aead0 [1.41.10]
Fixes for ordinal numbers (lang=hu).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@225 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-10-09 10:37:13 +00:00
jonsd 869878ec3e [1.41.09]
Ignore characters U+200c, U+200d (zero width non-joiner, zero width joiner).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@224 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-10-05 12:20:07 +00:00
jonsd 206026b498 [1.40.13]
lang=it, added dictsource/it_listx with corrections for stress position and open/close vowel type.
Changes to allow compilation on WinCE (Windows Mobile), with notes in platforms/windowsMobile.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@219 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-04-06 13:02:58 +00:00
jonsd 3869045b19 [1.40.10]
SSML: Fix bug where <mark> was ignored before some punctuation characters.

Lang=fr:  Don't stress monosyllables, except at end-of-clause or before phoneme [_;_]


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@217 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-03-12 12:27:17 +00:00
jonsd 396c1af678 [1.40.09]
Changed -b option to include an option for 16 bit character input.

numbers.cpp: Added option for vigesimal number systems for tens+units.

Fixed problems with word-length indications in callback events.

-m option now ignores XML comments.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@216 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-03-11 13:39:31 +00:00
jonsd 0d3e23ef39 [1.40.07]
*_list files. Ad feature for ordinal numbers (for some languages).
*_list files. Allow hyphenated word groups to start with a number.
*_list files. Allow "words" of symbols to contain brackets (move check for bracket characters to after the *_list lookup).
--punct option. Fix some unnecessary pauses when speaking punctuation names.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@215 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-01-18 11:37:10 +00:00
jonsd eabd70afbf [1.39.48]
Fix lettergroups: Sort items to longest first.

Lang en-us: Use rhotic [3] in place of [@] when [r] follows.

Voice files: add attribute "fast-test" to experiment with faster talking speeds.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@212 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-12-20 10:31:00 +00:00
jonsd 7758b77459 [1.39.42]
Languages which use non-Latin alphabets will automatically speak a word of Latin characters as English (or another specified language) without the need for entries in its *_rules file.

synthesize.cpp, SynthOnTimer():  Ensure the sound channel is open if there items still to be spoken, to prevent sound output lock-up.

Reduce warning messages from compilers.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@211 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-12-17 12:17:53 +00:00
jonsd b053a790df Program restructure and tidy-up.
Change Translator from Class to Struct, so avoiding use of Classes in eSpeak.
Make more functions and variables "extern".


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@209 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-12-13 10:54:41 +00:00
jonsd f90a4e369e [1.39.36]
*_list files: add attribute $max3 to limit repetitions of a symbol to 3.
-v command option, if the voice-name is not found, lookup using it as a language name.
Windows: allow longer path names for espeak-data.
-m option: Ignore text within <script> and <style> tags.
Reduce default pitch to 80-117.
WavegenCloseSound() check if there remain items to be spoken and re-open the sound channel.
Reduce voicing before voiced plosives.
Corrections to mbrola translation for lang=hi.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@205 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-12-03 16:57:41 +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 75970b147a [1.39.18]
*_list  Allow Hyphens in multi-word entries  (aa-bb).  This will only match a pair of words which are hyphenated.
*_list  Fix abbreviations of the form  a.b.cde
Recognise Armenian punctuation, allow and process Armenian punctuation inside words (affects intonation type, and marks the focus word of the clause).
Mbrola: add a delay so that SAPI5 events better follow the speaking.
Mbrola: generate phoneme events, and hence SAPI5 viseme events.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@200 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-11-07 19:43:53 +00:00
jonsd a7bb7cb6b4 [1.39.04]
Reduce pause when announcing punctuation.
Fix crash for list of numbers in some languages, eg: "22,23,24,25,26,27..."
Recognise XLL (etc) is not a valid Roman number.
espeak_Cancel(), reset punctuation echo.
Don't permanently change option_phoneme_input after using [[ ]] internally.
lang=af: Only recognise word "'n" as [@] when followed by a space. 


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@193 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-09-20 01:02:37 +00:00
jonsd 37ded768c9 [1.38]
SSML, Fix <prosody rate= >


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@187 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-08-22 23:12:35 +00:00
jonsd f4ea533d83 Fix: Word events had a bad text index if the word starts with a non-ascii character.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@177 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-06-27 09:00:10 +00:00
jonsd 1c0de9e4b8 [1.37]
Option --stdout, include a fake length for the RIFF length as well as the data length.
Fix option -k2 with <say-as>.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@175 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-04-16 13:07:53 +00:00
jonsd ed8d0c5bfc [1.36.01]
Bug fixes.

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@166 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-12 01:37:17 +00:00
jonsd 2524376f0f [1.36]
espeak_Key(key_name)  If key_name is a single character, it speaks the character name. Otherwise it speaks key_name as a text string.  This is the same behaviour as <say-as interpret-as="tts:key">
Fix: SAPI5 was restricted to 360 wmp.  Now the top speed (390 wpm) is allowed.
Fix error in phoneme translation data for mbrola "cr1" Croation voice.
*_list files: Allow word groups which have no phoneme translation, so that just attributes can be set. The words are considered as a single hyphenated word.
Fix: $textmode in *_list files, allow replacement by a word which is also translated in the *_list file.
lang=pl: many additions to pl_rules, pl_list


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@165 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-09 22:52:22 +00:00
jonsd eab1faff96 [1.33] continued
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@159 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-06 14:47:20 +00:00
jonsd 99e2976c86 [1.32]
Fix: espeak --stdout, set a (large) data size.
espeak --voices.  Include mbrola voices only if a language is specified.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@156 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-05 13:29:41 +00:00
jonsd 58fbde3153 [1.31.20]
Speak accented letter names as base-letter name plus accent name, using a table of Unicode characters up to U+17F.
Added $accent attribute for *_list files, meaning "speak as base-letter name plus accent name".
Added accent names to several languages *_list files.
Added language option to allow vowels to merge between words (used for lang=TA).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@153 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-01 10:29:46 +00:00
jonsd 417395b033 [1.31.19}
Fix: Events callback, fix word length information for words with multibyte characters.
Fix: Re-translating a word in a different language after the first langauge has started speaking individual letters, gave silence.
Announce punctuation.  If character name is not defined, use English.
Announce punctuation.  Fix pitch of the voice which announces punctuation characters.
[[Phonemes]] text input.  Allow the language-switch phoneme eg. [[_^_EN hEloU _^_FR]] in the input.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@152 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-28 20:54:03 +00:00
jonsd 16fba5a1c1 [1.31.18]
Indicate unrecognized letters within a word by clicks.
lang-tr: Non-standard lower case conversion for "I".
Tone languages: indicate emphasis by increasing the pitch range.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@151 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-25 21:59:24 +00:00
jonsd 19db296d78 [1.31.14]
SSML: <voice>, if a language is specified, forget previously selected voice name.
Voice selection, convert language name to lower-case.
espeak-data/mbrola_ph files, allow use by both little and big-endian processors.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@149 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-22 13:59:25 +00:00
jonsd 28943f9000 Possible fix to segfault when changing voices in SSML <s> tags.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@148 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-22 00:06:02 +00:00
jonsd 134f750277 Fix crash: SSML when <voice name=""> has an unrecognised voice name.
SSML: Don't speak text within <metadata> </metadata>


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@145 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-21 17:47:43 +00:00
jonsd 6a8b112743 Remove punctuation pauses from the end of text, unless the espeakENDPAUSE flag is set in espeak_Synth().
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@142 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-14 15:10:55 +00:00
jonsd ab7edfc7f7 [1.31.09]
More fixes for &--; sequences.
lang=es: use phoneme [O] for letter 'o' except at end of word.
leng=es: attempt to improve single 'r' between two vowels.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@139 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-11 11:34:10 +00:00
jonsd c3d666f15c [1.31.08]
Fixed bug of missed character after & sequence when --punct option is used.
lang=ta:  First attempt at phoneme [l.] retroflex-l.
lang=no:  Use phoneme [R] for all cases of "r".


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@138 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-09 00:26:34 +00:00
jonsd 39e8e1dcb6 [1.31.07]
intonation: changed comma intonation for intonation type 2.
intonation: adjusted exclamation (make the nuclear syllable emphasized).
intonation: split intonation table into body and nucleus parts.
lang-zh: only length tones 2,3 at end of sentence.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@137 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-08 10:38:45 +00:00
jonsd e69ec3a676 [1.31.03]
lang=en-r: change to phoneme [t#] (reduced "t")
Added "consonants" attribute to voice files.
Minor change to intonation types 2 and 3.
lang=zh: adjust tone levels
lang=fr: adjust stressAmp, adjust consonant strengths.
Platform RISC_OS. Disable the "breath" attribute in voices because floating point is not allowed in callbacks.
Platform RISC_OS. Implement ListVoices()


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@132 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-27 11:26:03 +00:00
jonsd 7580102e79 [1.31]
Return espeakEVENT_MARK events in AUDIO_OUTPUT_PLAYBACK mode.
New phoneme [ _;_ ]  a pause which ends intonation for a clause (the equivalent of a comma).
lang=en-r: adjusted phonemes


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@129 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-20 00:17:02 +00:00
jonsd 1a2f454af3 [1.30.14] phoneme [?], glottal stop, changed type from pause to plosive.
lang=id: Initial draft


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@125 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-15 23:43:52 +00:00
jonsd 38063c4eea [1.30.10]
Remove pause before <say-as> if it's at the beginning of a sentence.
Added --split=<minutes>  command-line option. Splits output WAV file (at sentence boundaries).
Fix: espeakEVENT_SENTENCE events were missing.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@121 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-13 14:45:58 +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 af575bc1db [1.30.04] SSML <audio src=""> now works without using a UriCallback() function, and works with the command-line espeak.
Pitch changes for mbrola are now applied over the first 80% of the phoneme, not over the whole length of the phoneme.  This seems to give better intonation for mbrola voices.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@118 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-07 20:06:32 +00:00
jonsd 27b622538b [1.30.01] Fixed SSML <break time="">
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@115 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-02 10:08:00 +00:00
jonsd dc09dd11f1 [1.30] Add option for a pause between words: command option -g or espeak_SetParameter(espeak_WORDGAP)
Add different intonation styles (attribute "intonation"  in voices files).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@114 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-12-31 15:56:11 +00:00
jonsd fb7230a912 [1.29.29] Add inital draft of language "ta", Tamil
lang=en: Don't treat "Mc" prefix as a separate word, combine it with the following word.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@113 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-12-20 13:45:16 +00:00
jonsd 22756f15a6 [1.29.25] <emphasis> tag now changes the intonation to emphasize the specified word.
option_emphasize_allcaps in translate.cpp, if set will emphasize words which are all-capitals.
Changed intonation.cpp.
Added an intonation for sentences which end in an exclamation mark.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@111 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-12-14 10:43:52 +00:00
jonsd 363753f388 [1.29.24] Fixed problem where espeak_GetCurrentVoice() gave a newline character after the voice name.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@110 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-12-12 10:46:48 +00:00
jonsd 38a60f15c6 [1.29.23] Increase max speed from 370 to 390 wpm.
lang=zh: Fix tone numbers in pinyin input.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@109 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-12-03 01:10:10 +00:00
jonsd b1a45dcdf5 [1.29.22] Remember voice variant over <speak> </speak> tags.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@108 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-11-26 09:55:02 +00:00
jonsd 40c466b36e Fixes to Sound Icons (play WAV files for punctuation).
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@107 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-11-21 10:27:32 +00:00
jonsd 531de957cd [1.29.15] Fix compiler warning, conversion from string constant to 'char *'.
espeakedit: Change compile_report file to include the phoneme name as well as phoneme table which uses each data file.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@95 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-11-01 19:09:27 +00:00