The libespeak files are supposed to be C code, so use C linkage
for all the functions defined in that code when they are being
referenced in the C++ code (i.e. espeakedit).
Fix bug, use of the command-line "espeakedit --compile" produced phoneme data
in which vowels started at full amplitude instead of gradual increase.
Fix bug: SSML <break time=""> with values greater than 23 seconds were ignored
due to arithmetic overflow.
Phoneme definition files:
Added new function: ChangeNextPhoneme().
Language changes include: da, en, fa, gu, hu, it, nl, pt, ta
Started new language: eu (Basque).
*_rules files:
Allow $p_alt1, $p_alt2, etc in pre-conditions. The rule matches if the
characters before the current point in the word occur as an entry in the
*_list file with the corresponding $alt attibute.
Added condition $list. This is similar to $p_alt etc, but examines
all words in the *_list file which don't have the $only attribute.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@374 d46cf337-b52f-0410-862d-fd96e6ae7743
espeakedit: Prosody window now shows the FMT() or WAV() filename
and the standard length of the selected phoneme.
Added the ability to produce speech at different sample rates.
To use rates other than the default 22050Hz, the phoneme data must
be recompiled. This needs the "sox" program to be available.
(sox.sourceforge.net).
espeakedit: Added menu option to compile the phoneme data at a
specified sample rate (rather than the default 22050Hz).
phondata: Includes the value of the sample rate at which the data was compiled.
Language changes: pt.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@302 d46cf337-b52f-0410-862d-fd96e6ae7743
Added runtime detection of pulseaudio, with fallback to portaudio if pulse is not running. Use build option "AUDIO=runtime" in the makefile.
Phoneme programs. Added condition "isTranslationGiven" to test whether a phoneme has been specified explicitly for a word in *_list.
*_rules files. Suffix rules are now considered only if there is a previous vowel in the word.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@274 d46cf337-b52f-0410-862d-fd96e6ae7743
Don't omit <marker> event for words which are recognized as pairs (such as "of the").
Lang=Spanish, fix missing "y" in numbers such as "21".
Lang=EN-US, Don't add 'intrusive r' between phoneme [i@] and a following vowel.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@268 d46cf337-b52f-0410-862d-fd96e6ae7743
Amplitude changes now apply also to mbrola voices.
"voicing" attribute is now used in mbrola voice files to set the voice loudness.
SSML commands such as <mark> and <prosody> were ignored if they were inside a multiword group (defined in *_list). This is now fixed so that the command is processed at the end of the group.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@267 d46cf337-b52f-0410-862d-fd96e6ae7743
Phoneme definitions.
New keyword "prevoice", always add murmer before a voiced stop, not only after a vowel.
Fixed bug in nextVowel() condition.
Fixed bug is condition "isRhotic".
Command line options.
On Windows, -- means don't treat following arguments as options.
--help output now should the espeak-data path.
Tools->Lexicon. Redesign Lexicon processing for Russian and Bulgarian.
Numbers. Fixes for Hungarian ordinal numbers.
Fixed bug where double .. was ignored.
Fixed bug in reporting word event lengths in callbacks.
Fixed bug in reporting marker event positions in callbacks, when non-ascii text.
SSML.
Allow single as well as double quotes around strings.
Fix bugs in SSML "prosody rate".
Speed.
Only use Sonic speedups greater than x2.
Use custom eSpeak speed settings when Sonic speedup is used.
Mbrola. Look for Mbrola voice also at /usr/share/mbrola/xx/xx
espeakedit. Try "aplay" and then "play" to play sound.
Languages:
Kannada (kn) now in official release.
Esperanto (eo) change prosody.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@257 d46cf337-b52f-0410-862d-fd96e6ae7743
Speed increase. Added the "sonic" routines by Bill Cox to reduce the length of eSpeak's sound output data, so as to make the speaking speed faster.
Ordinal numbers: Some languages (el,es) use the ordinal form of hundreds and tens part of a number, as well as the units part. Added language option NUM2_MULTIPLE_ORDINAL.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@254 d46cf337-b52f-0410-862d-fd96e6ae7743
Fix error in big-endian data conversion program, producing bad data.
Make geminated voiced stops (eg. [bb] ) longer at fast speeds.
Provide conditional compilation of the mbrola interface, define macro INCLUDE_MBROLA in speech.h
Mbrola: also look for mbrola voices in /usr/share/mbrola/voices
Pad TUNES and frame_t structures to a multiple of 4 bytes.
lang=da, Don't weaken unvoiced stops before pause.
lang=el, Remove final unstressed [a] if the next word starts with [a].
lang=pt, Change final [U] to [w] if next word starts with a vowel.
espeak 1.44.03
Fixes:
Lang=el, mk. Was speaking words as individual letters.
Lang=pl. Fix prounciation of 'ć' and 'ci'.
Fix crash in big-endian data conversion program.
Fix problem where changing voices reduces the speaking rate, at fast rates.
speak_lib.h: add macro definitions for minimum, maximum, and normal speaking rate values.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@253 d46cf337-b52f-0410-862d-fd96e6ae7743
Phoneme definitions. Add "equivalents" table to translate phonemes from a foreign language (eg. English) into the equivalant phonemes of this language. This is used when *_rules and *_list files indicate that a word uses pronunciation rules from a different language.
Unpronouncable words can be recognised by rules in *_rule files. This feature is now used for en, de, es.
Lang=ta, hi. Letter-names for combining vowel characters are distinguished from stand-alone vowel characters by a preceding beep.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@251 d46cf337-b52f-0410-862d-fd96e6ae7743
Indicate language changes in IPA phoneme output.
Phoneme definitions FMT(), second parameter is amplitude percentage.
Phoneme definitions CALL(), If phoneme type is not defined, copy the static attributes from the called phoneme.
Unpronouncable word check: stop when an apostrophe is reached.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@250 d46cf337-b52f-0410-862d-fd96e6ae7743
espeakedit --compile also compiles the intonation data
Added feature to produce phonemes as International Phonetic Alphabet.
phoneme definitions: Added "ipa" instruction to specify IPA phoneme name.
When spelling as individual characters, calculate the stress position for each character name.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@249 d46cf337-b52f-0410-862d-fd96e6ae7743
Add mbrowrap.cpp to emulate the mbrola library which is available in Windows, but not on Linux. mbrola voices in command-line espeak and libespeak now call mbrola directly rather than generating phoneme information as text. Mbrola phonemes as text is still available with the new --pho command-line option.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@248 d46cf337-b52f-0410-862d-fd96e6ae7743
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
*_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
Fix: -g command option not working on Windows.
Fix: Text position value in events was limited to 16 bits.
[1.40.15]
espeakedit: Change formant dialog to include Klatt parameters.
espeakedit: Change the format of formant data to include Klatt parameters.
espeakedit: Fix the frequency of F7,F8 at 7800Hz,9000Hz.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@220 d46cf337-b52f-0410-862d-fd96e6ae7743
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
*_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
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
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
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
*_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
Fix crash with SSML <say-as>.
Sada audio output now OK on big-endian processors.
Don't reduce the pause before doubles stop consonants (eg.Finnish "kk") as much at high speeds.
Language changes: pl (reduce length of stressed syllables, [i] closer, [f] stronger befiore [s]).
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@188 d46cf337-b52f-0410-862d-fd96e6ae7743