Commit Graph
155 Commits
Author SHA1 Message Date
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 3b2570f560 Fix: $textmode, word replacement didn't include end-of-word separator (space).
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@154 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-03-01 10:42:47 +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 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 f1afee2ddf Possible fix to a segfault when wordgap feature is used.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@147 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-22 00:05:11 +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 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 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 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 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 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 2047ce8d7e [1.31.10]
Started voice es-la, Latin American Spanish.
lang zh: more vowel adjustments, "d", "r" syllable, "ng" syllable.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@140 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-02-12 23:06:42 +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 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 29afe8f716 Use a single makefile for portaudio and pulseaudio versions. Move USE_PORTAUDIO definition from speech.h into the makefile.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@134 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-30 14:11:58 +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 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 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 8eda0074cd [1.30.15]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@128 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-17 21:59:14 +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 0b70e7e6c3 [1.30.14] lang=id: Initial draft
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@126 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-15 23:47:26 +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 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 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 18a4e534e2 git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@122 d46cf337-b52f-0410-862d-fd96e6ae7743 2008-01-14 02:34:54 +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 d3fb0cf9b2 git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@120 d46cf337-b52f-0410-862d-fd96e6ae7743 2008-01-11 01:44:04 +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 5634dd1891 [1.30.03] lang=sv: update dictionary.
lang=jbo (lojban): initial draft.
Linux: look for env variable ESPEAK_DATA_PATH


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@117 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-04 13:02:35 +00:00
jonsd 8904e763fc [1.30.02] Fix bug in LoadVoice() for "intonation" attribute in voice files (in 1.30.01 only).
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@116 d46cf337-b52f-0410-862d-fd96e6ae7743
2008-01-02 13:11:41 +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 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 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 5e73431fd9 git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@106 d46cf337-b52f-0410-862d-fd96e6ae7743 2007-11-14 15:18:27 +00:00