Commit Graph
51 Commits
Author SHA1 Message Date
jonsd fddf2e7265 [1.36.06]
TranslateChar(): Break Korean hangul syllables into individual jamo characters.
Remove Translator_Afrikaans class.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@170 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-23 11:05:33 +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 c3b8c1b807 [1.33]
Replace the "dangerous" tmpnam() with mkstemp().
Reduce echo when announcing punctuation.
Treat echo amplitude=0 as no echo, even if an echo delay is set.
list voices:  add --voices=mbrola


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@158 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-06 14:43: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 897d6ba81e [1.31.13]
Error message if accented letters are not recognized as alphabetic.
"speak" program.  Don't finish when an empty sentence is found.
Compile dictionary: compile *_listx after *_list, not before.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@146 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-21 18:47:23 +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 b06c02f9cd [1.31.04] lang=zh: adjusted phonemes
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@133 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-30 11:18:31 +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 93987ae875 [1.30.01] langs=en: added phoneme [i@3] to distinguish (for example) "ia" from "ier" in American.
lang=en-r: adjusted phoneme lengths.
lang=fr: changed decimal fractions option.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@130 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-23 23:28:25 +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 605ac80e0a [1.30.12] Added new phoneme [J^] voiced palatal fricative.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@124 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-14 23:50:47 +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 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 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 dbe268fc06 [1.29.10] Change the harmonic for formants 6,7,8 only at cycle quiet points, not every 64 cycles. This reduces noise clicks.
Fix agc, not applied correctly when echo is set.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@91 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-10-16 00:40:08 +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 a6a5246a54 [1.29.04] Allow up to 10 parts in multiple-word entries in *_list files.
lang=hr: Recognize Roman numbers only when all-capitals.
lang=en: Change to word-final [I] (phoneme [i]).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@84 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-09-11 09:58:39 +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 d4ff77a7d5 [1.28.04] Don't join [v][z] to a liquid [l][r][w][j] across a word boundary.
Changes voice variant file names in espeak_data/voices/!v  from !variant12 etc to !varnt12  for DOS 8 character filename limit.
Use a separate phoneme translation file for Swedish voice mbrola "sw2".
Updates languages dictionaries "af", "sv"


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@73 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-08-15 16:30:47 +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 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 1a28202d00 [1.27.04] tr_languages: replace_char substitution can do 2->1 and 1->2 characters.
espeakedit: set and save path for master phonemes file.
espeakedit: added delete_phoneme and import_phoneme actions in phoneme files.
espeakedit: improve data in log_espeakedit, include phoneme names.
espeakedit: only write to log_espeakedit for speak from text window, not when playing vowel files.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@59 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-04 22:59:40 +00:00
jonsd 26c3d3a9ee [1.27.02] lang-hu, change vowel lengths
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@57 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-07-01 20:30:57 +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 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 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 0fa20438c1 [1.25.17] Fix rule trace for suffix rules (were omitted in espeakedit).
lang=de  improve de_rules.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@34 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-06-04 22:46:11 +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 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 232efce212 [1.25.06] lang=is changes.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@21 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-23 18:30:18 +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 8a6e17ac7c [1.25.02] Added translation for mbrola "gr2" Greek voice.
Filtered ustop/t_short.wav to remove high frequencies.
Reduced formant glide for phoneme [c].


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@18 d46cf337-b52f-0410-862d-fd96e6ae7743
2007-05-21 17:10:30 +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 aa6b7a1858 lang=no added numbers and letter names
lang=cs  r-caron quieter after p,t,k,v
lang=it,es,sk  changed 'r' to use phoneme [R]


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