Commit Graph
84 Commits
Author SHA1 Message Date
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 18240ae109 [1.43.46]
Fix: Speak punctuation option also caused text after [[ to be spoken as phoneme codes even if espeakPHONEMES flag is not set.

Speak sequences of letters and dots as individual letters, and don't speak 'dot', eg. "u.s.a."

Don't announce punctuation in the alternative text inside <audio ... </audio>

Vowelcharts, show the positions of multiple FMT() in vowel phonemes definitions.

Phoneme definitions:
New attributes:  flag1, flag2, flag3
New attribute: nopause. Prevents the insertion of a short pause when this phoneme starts a word which follows a vowel.
New conditions: isFlag1, isFlag2, isFlag3, isSibilant.
New statement: InsertPhoneme()

Phonemes: improve syllablic [m-] [n-] [N-]

*_rules: add attributes  $p_alt .. $p_alt3,  $w_alt .. $w_alt3

*_list:  add attributes:  $sentence, $atstart

klatt synthesizer: implement echo.

espeakedit, Prosody display: Indicate stressed and secondary-stress syllables.

espeakedit: remember window size and position.

Intonation:
New file, 'phsource/intonation' to define 'tunes' which can be used from voice files.

espeakedit: add Compile -> Intonationm data

Speed: Increase range to 80 to 450, with default=175.
Improve speaking at high speeds.

lang=en: Reduce consecutive unstressed syllables to 'diminished' stress, only in unstressed words.

lang=de: Change 'r' phoneme.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@244 d46cf337-b52f-0410-862d-fd96e6ae7743
2010-06-20 13:15:35 +00:00
jonsd cec2c415da [1.43.31]
*_list files: added attribute $sentence.
*_rules files: added attributes $w_alt, $p_alt.
phoneme definitions: added attribute no_pause.

-X command-line option: Show the matching of multiple-word entries in *_list files.

espeakedit: Add menu option to compile the intonation data file (the data is not yet used).

Start language: Bulgarian.

lang=bg (Bulgarian): Add feature in espeakedit to make bg_listx from a lexicon of words which have stress position mark-up.

espeakedit: Change the frame-length field from Spin Control to Text Control to allow better access from screen-readers.

Language options: add an option to the Regressive Voicing option to de-voice the final consonant of words.

Don't speak "dot" if an ellipsis is followed by a dot.

Intonation: change the internal pitch unit to give finer control, and align with the values displayed in the espeakedit Prosody window.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@243 d46cf337-b52f-0410-862d-fd96e6ae7743
2010-05-21 23:21:06 +00:00
jonsd 9ffdc46fa0 [1.43.10]
Fix --compile-debug option.

Add more syntax checks for --compile option.  Detect empty pre-rule.  Detech missing match-rule.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@240 d46cf337-b52f-0410-862d-fd96e6ae7743
2010-03-12 12:11:45 +00:00
jonsd 2698461aa4 [1.42.42]
Don't recognize space as a thousands separator if it's tab, newline, or multiple spaces.
Don't recognuze space as a thousands separator if not followed by exactly 3 digits.

Unrecognized HTML tags should not add a space (eg. <font> <b> inside a word).

lang=hu: fixes for when numbers are ordinal.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@236 d46cf337-b52f-0410-862d-fd96e6ae7743
2010-02-13 11:14:41 +00:00
jonsd 20f52f0301 [1.42.21]
New format for phoneme source files.
Update phoneme data for Klatt synthesizer.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@235 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-12-20 07:48:33 +00:00
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 075bfe9006 [1.41.18]
*_list: Changed name to $combine (from $alt2) for the attribute which indicates that a word should combine with the next word.

Voices files: Added attribute "speed", which specified a percentage change to the speaking speeds which are used for this voice.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@229 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-10-19 11:10:05 +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 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 f105d8d5e1 [1.40.11]
lang=fr: removed unstressed monosyllable option.
lang=pt,it: fixed crash when speaking some numbers.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@218 d46cf337-b52f-0410-862d-fd96e6ae7743
2009-03-13 13:02:20 +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 3d02bd19d4 Tidy up phsource.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@213 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-12-22 19:19:34 +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 3096b7634d [1.39.39]
Windows SAPI5 installer: Remove the limit on the number of voices specified for inclusion in the Windows Registry.

voices.cpp:  Widen formant peaks F3 F4 F5.

Reduce slightly the difference in amplitude between stressed and unstressed vowels.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@208 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-12-12 13:33:52 +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 04fa12b60c [1.39.29]
Allow combining accent characters inside a word (don't cause the word to be spelled).
Add command line options:  --path    --phonout


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@204 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-11-23 13:46:27 +00:00
jonsd a7501374b2 [1.39.26]
Added languages: ca (Catalan) lv (Latvian)
Numbers: allow for languages which have numbers for 100,000 and (or not) 10,000,000 (eg. hi, sw)
Phoneme [ts] new files in phsource/ustop
*_rules: fix crash for lettergroups numbers greater than 10, and better error reporting.
Languages: eo, jbo: adjust syllable lengths.
Language: en, fix "1st, 2nd, 3rd, 5th".  But a full ordinal number feature is still needed.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@202 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-11-16 09:18:53 +00:00
jonsd 084cd2c17d [1.39.22]
*_list files, allow words in all-capitals which imply $allcaps attribute.
Voices: Look for voices also in espeak-data/voices/test.
lang=eo: Adjust syllable lengths.  Use break between word (word_gap=1).
wave.cpp: Fixes to copyBuffer(), wave_write().


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@201 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-11-10 21:31:12 +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 64154064cb [1.39.11]
Fix problem in *_rules files.  Conditional rules could cause corrupt phoneme strings.
Voice files, "replace" command using an "unstressed" phoneme now ensures the syllable is unstressed.
lang: us, pronunciation changes, use new phonemeeeeeeeee [@/] (at end of words) and [O].
lang: fr, pronunciation changes.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@197 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-10-13 14:47:46 +00:00
jonsd 811b0ed93a [1.37.12]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@184 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-08-13 20:39:06 +00:00
jonsd b1fc16f6c6 [1.37.07]
Support for mbrola Brazilian voices, br1, br3.
Included epenthetic vowel [i] in Brazilian.
Languages changes: fr, af.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@179 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-07-19 13:08:11 +00:00
jonsd cbc23d04c0 [1.36.12]
lang=hr: adjust phonemes [S tS tS; Z dZ dZ;]


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@173 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-04-10 16:25:15 +00:00
jonsd 0b244ba4a5 [1.36.02]
Fix for crash on word with abnormally large number of vowels (eg "Hiiiiii.....")


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@167 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-13 01:24:55 +00:00
jonsd a83b20dde6 [1.35]
Fixed problem with languages: ru, el, zhy, not speaking English words.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@163 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-07 18:20:06 +00:00
jonsd 1f6c70eb7b git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@161 d46cf337-b52f-0410-862d-fd96e6ae7743 2008-03-06 21:06:23 +00:00
jonsd 7fa68cab0b git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@160 d46cf337-b52f-0410-862d-fd96e6ae7743 2008-03-06 16:30:43 +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 389f86143e Fix: $textmode, word replacement didn't include end-of-word separator (space).
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@155 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-01 10:46:18 +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 bf8ee6362e [1.31.17]
*_rules: New option, (Pb to specify a character such as apostrophe which splits a word into two parts (used for lang-tr).
 

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@150 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-24 13:53:14 +00:00
jonsd b29b232e15 Fix: -x (show phonemes) option. Terminate the reported string for $textmode replacements.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@144 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-21 17:45:24 +00:00
jonsd 6c9c8205ba Bug fix. Letter groups in *_rules file were not processed correctly. eg. .L01
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@141 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-13 11:34:20 +00:00
jonsd e5ada07055 [1.31.06]
espeakEVENT_PHONEME, fix audio position of vowel when it follows a voiced consonant.
Ensure enough space in the event list when espeak_Initialize() is called with a small buffer size.
Tone languages: set the final stressed syllable to stress=7 so that it can be longer.
lang=zh: adjust vowels


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@136 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-05 17:03:06 +00:00
jonsd 703da28454 [1.31.05]
<say-as tts:char>, if a character name is not defined, say its English name.
phoneme tables, added beforenotvowel2 attribure for lang=tr
lang=tr: initial draft


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@135 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-05 01:18:56 +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 0d2fa52994 [1.30.01] espeakChar() & say-as tts:char, speak the unicode number for unknown characters.
lang=ta: change stress rule to first syllable.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@131 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-23 23:31:28 +00:00
jonsd 8f4c6ebd1e [1.30.15] lang=es,pt: Fix bug where accented vowels cause intonation to go low pitch for the rest of the clause.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@127 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-17 21:10:26 +00:00
jonsd ee4cb049f5 Fixed <say-as interpret-as="tts:key> to speak all single characters, and ignore _ and - after an alphabetic character.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@123 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-14 15:45:50 +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