Commit Graph
197 Commits
Author SHA1 Message Date
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 35a7f05eb1 [1.31.12]
Fix: reset phoneme table if speech is cancelled while switched to a second language.
"speak": add -z options (same as for "espeak").
Numbers: Add option to speak "and" before hundreds.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@143 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-16 17:02:26 +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 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 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 6c7e8ae54f [1.29.26] Allow longer echo delay period at the end of speech if the echo strength is > 20.
lang=vi: recognise combining accent characters (for tone accents).
Use a different intonation pattern, with more expression, for sentences which end in exclamation mark.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@112 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-12-18 11:57:59 +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 f9725f9f64 [1.29.18] Add data for Serbian voice ("sr").
Moved Croatian/Bosnian/Serbian dictionary source data to hbs_rules, hbs_list.
Added data for Ancient Greek voice ("grc").
In voice files, the attribute: word n  adds a short pause between words. n = 1 to 4 for increasing pause length.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@103 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-11-10 22:10:43 +00:00
jonsd 960fc6dfdc lang=en, changes to [r]
lang=en-r, added version of [aI@] phoneme


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@98 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-11-07 12:25:25 +00:00
jonsd 9543dcc00d [1.29.12] *_list files can translate words to "sounds like" words as well as phonemes. $textmode, $phonememode.
Lang eo: use .replace in eo_rules for "cx" etc.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@94 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-10-29 09:42:18 +00:00
jonsd 646e612213 Add voice "en-wi".
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@89 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-10-04 10:54:36 +00:00
jonsd ca61663045 [1.29.07] Reduce clicks at very low pitches due to numerical overflow in wave generation.
Treat echo-delay = 0 as "no echo", even if ech-amplitude is set.
lang=ru, fix crash for "words" which has produce no phonemes (wg. ":").


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@88 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-10-01 09:26:33 +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 810fb2404d [1.28.03] Added macro in speech.h for max. length of the espeak-data path.
Added language: "bs" Bosnian.
Fix to speak_lib.h for Windows dll version.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@69 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-31 09:17:13 +00:00
jonsd 9e558ad4dc [1.28]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@66 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-16 18:56:34 +00:00
jonsd daaa9ddbb7 [1.27.10] Added inverse conditional rules in *_list and *_rules. eg. ?!3 "if rule 3 is NOT set".
lang=en-r, adjusted vowels.
Moved single characters (eg. % @) from *_list to *_rules so they can be used in combinations (eg. %-).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@65 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-15 16:02:08 +00:00
jonsd 0def252307 [1.27.09] Fix for --punct option when used with <say-as>.
lang=hu, shorten "ll". Test: remove differences in vowel lengths depending on the following phoneme.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@64 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-12 21:39:42 +00:00
jonsd 0c3b856173 [1.27.07] Fixed crash when espeak_Initialize() is called after espeak_Terminate()
espeakedit: setlocale(LC_NUMERIC,"C") before opening spectrum.dat file.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@62 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-09 11:08:12 +00:00
jonsd f3a4623535 [1.27.06] Roman number translation added (for some languages).
espeak_Char(32) can speak "space" by adding an entry for _#32 in *_list file. Similarly for Tab.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@61 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-07 15:37:48 +00:00
jonsd 3303246b80 [1.27.03] Windows, look for env variable ESPEAK_DATA_PATH.
espeakedit, fix crash in Compile_phoneme_data when there is no voices directory.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@58 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-03 11:32:43 +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 8ad5946b29 [1.26.11] Windows: look for environment variable ESPEAK-DATA-PATH for the directory which contains the espeak-data directory.
AdjustFormants(): adjust the F2 target by a factor which depends on the voice pitch.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@55 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-26 11:00:24 +00:00
jonsd 5414063759 [1.26.10] Lengthen phoneme [n] slightly.
Internationalization of Windows espeak and espeakedit installers.

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@54 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-23 16:47:37 +00:00
jonsd 3c1fcdfdbe Add windows/espeakedit project build data.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@53 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-21 16:26:07 +00:00
jonsd b7f2dd2d04 [1.26.08] Fixed --stdout option in "espeak" program was writing to file "stdout".
Fix to UTF-8/8-bit character set recognition.
lang=de, more additions to translation rules, changed phoneme name [OI] to [OY].
lang=it, turned of "syntactic doubling" (temporarily?)


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@51 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-19 19:04:45 +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 245ee91a84 lang=de improve de_rules
Changes to "de" lexicon comparitor

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@42 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-09 02:32:26 +00:00
jonsd 08c34b0f0b [1.26] leng-en-r adjust [a] [oU], adjust stressLength in voice file.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@37 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-08 11:53:37 +00:00
jonsd 510f9c9e80 [1.25.19] lang=hu removed regressive voicing
lang=en-r  adjusted phonemes [a] [eI] [t#]


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@36 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-07 07:51:41 +00:00
jonsd bc7ef71556 [1.25.18] Adjusted [la], [wi]
Added mechanism to reduce [t] before unstressed vowels (for en-us)
Fixed X (no vowels) operator in pre-rules in *_rules files.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@35 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-06 16:03:52 +00:00
jonsd 73e45f9c05 [1.265.16]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@32 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-02 15:23:29 +00:00
jonsd d900e49957 [1.25.13] Phoneme name [r] is no longer reserved, may be redefined by languages.
Phoneme [z], increased voicing and slightly longer.
lang=af, updates to af_list,af_rules
lang=hu, added unstressed words, abbreviations.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@29 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-30 13:32:38 +00:00
jonsd 2ae90a2548 [1.25.09] Say "dot" not "point" for 2. when not followed by another number.
lang=hu, vowel_pause=0x20, fix [A] [a:] endtypes
lang=pt, "r" phonemes


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@25 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-26 11:34:31 +00:00
jonsd ae4ae76802 [1.25.04] Windows, look in Registry to find location of dictsource.
Add lang=is Icelandic.
Adopt Phoneme [R] from experimental Croatian [R2].
lang=hu, add vowel_pause.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@20 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-23 10:34:28 +00:00
jonsd ec9796cb99 [1.25] Enable exclamation intonation for lang=pt
Lang=fr, [o],[O] more open.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@15 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-19 01:24:45 +00:00
jonsd f65bf2072b [1.24.12] Produce dictsource/dict_phonemes, a list of which phonemes are used by each language's *_rules and *_list files.
Fix crash with -X option when spelling words (acronyms).
Rules files: added special character X meaning "no vowel until the word boundary". Used for lang=no.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@14 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-18 10:52:23 +00:00
jonsd 50136a6da2 lang=hr abbreviations, change phonemes [p] [d]
dictionary.cpp:  fixed, condition ?3 caused bad 'common' phoneme string


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@13 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-17 11:29:10 +00:00
jonsd 6d5a152841 Fix voice attribute suffix ignored in voice name.
lang=cs   fix number not spoken after preposition with $alt1 attribute
lang=cs   Don't allow any thousands separator.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@12 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-17 00:58:01 +00:00
jonsd 4dac46b5fa Lang=hr, transliterate Cyrillic characters - fix capital Cyrillic letters.
New phoneme [R], an attempt at a alveolar-trill, in general consonants.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@8 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-11 14:21:24 +00:00
jonsd e24c5b339d Lang=hr, transliterate Cyrillic characters to Latin using TranslateChar().
TranslateChar() can now substitute a character by two replacement characters.
Lang=cs, more difference between long and short vowels, less length differnence beteeen stressed and unstressed syllables.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@7 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-10 15:11:22 +00:00
jonsd 9099061844 Fix samplerate for ufric/xx, ufric/sx_sv, x/g2.
Don't read all the voice files on start, wait until they are needed.
Added 'W' code to _rules files to mean: further letters follow while spelling a word.
Lang=fr replace [r] with [R],  shorten [R] slightly


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@4 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-06 23:58:57 +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