Commit Graph
4736 Commits
Author SHA1 Message Date
Sergei Trofimovich 9dba972b8a Makefile.am: add missing 'espeak-ng' dependency
Noticed build failure on NixOS when built package with 'make -j16':

    build flags: -j16 -l16 SHELL=bash
    Makefile:2844: warning: ignoring prerequisites on suffix rule definition
    make  all-am
    make[1]: Entering directory '/build/espeak-ng'
    Makefile:2844: warning: ignoring prerequisites on suffix rule definition
    touch dictsource/az_extra
    ...
    touch dictsource/yue_extra
    cd dictsource && ESPEAK_DATA_PATH=/build/espeak-ng LD_LIBRARY_PATH=../src: ../src/espeak-ng --compile=yue && cd ..
    bash: line 1: ../src/espeak-ng: No such file or directory
    make[1]: *** [Makefile:3546: espeak-ng-data/yue_dict] Error 127
    make[1]: Leaving directory '/build/espeak-ng'
    make: *** [Makefile:831: all] Error 2

The fix is to add dependency on 'espeak-ng' similar to other rules.
2021-10-26 22:13:14 +01:00
jaacoppi 2bba3ad31a Merge pull request #1018
Fix pronunciation of given name Shaoni
2021-10-19 06:31:23 +03:00
Valdis Vitolins 40960b1e1e Merge pull request #1026 2021-10-18 14:09:21 +03:00
Valdis Vitolins 48d99fe55f Merge pull request #1025 2021-10-18 14:09:16 +03:00
Valdis Vitolins bcc010a041 Merge pull request #1024 2021-10-18 14:08:56 +03:00
Valdis Vitolins 434c48cb66 Merge pull request #1023 2021-10-18 14:06:47 +03:00
Valdis Vitolins ebcad46032 Merge pull request #1022 2021-10-18 14:06:41 +03:00
Samuel Thibault 914326b3d3 mbrola: Specify more the spanish voices
This specifies that the es* mbrola voices are rather for Spanish
spanish.
2021-10-16 23:48:31 +02:00
Samuel Thibault 4378e12f1f mbrola: Fix locale to UK
The standard codename for United Kingdom for locales is UK.
2021-10-16 23:47:39 +02:00
Samuel Thibault 45442fcb94 mbrola: Fix portuguese and french voices priorities
- We want to use br* voices in priority for Brazilian Portugues, but not
  for general Portuguese.
- We want to use ca* and Belgian voices for Canadian and Belgian French,
  but rather not for general French.
2021-10-16 23:39:42 +02:00
Samuel Thibault ed29101656 mbrola: Fix setting fr7 voice
It currently erroneously sets the fr5 voice.
2021-10-16 23:37:18 +02:00
Samuel Thibault 572fe31c1b mbrola: Report error when loading an mbrola voice fails
Otherwise espeak_SetVoiceByName returns EE_OK even if the mbrola voice
file could not be loaded and thus setting the voice actually failed.
2021-10-16 22:40:55 +02:00
Samuel Thibault 8917c9b7a9 Fix mb-ic1 and mb-ee1 voice names
All other mbrola voices follow the "language-mbrola-number" name format.
2021-10-16 21:04:29 +02:00
ronaldaug 7e5457f91e Update shn_list 2021-09-24 22:28:20 +03:00
Bill Dengler c14b361839 Fix pronunciation of given name Shaoni 2021-09-16 23:12:13 -04:00
Valdis Vitolins 7211bb77ec Revert "ar: issue #1009: improve sound of Ain"
This reverts commit 02783150cd.
2021-09-16 13:26:46 +03:00
Valdis Vitolins 078ff000ad Revert "ar: issue #1009: change r to trilling R"
This reverts commit aa765c7680.
2021-09-16 13:26:31 +03:00
Valdis Vitolins 02783150cd ar: issue #1009: improve sound of Ain 2021-09-13 23:07:32 +03:00
Valdis Vitolins aa765c7680 ar: issue #1009: change r to trilling R 2021-09-13 22:31:28 +03:00
Valdis Vitolins 2b77dd2783 Merge pull request #1006 2021-08-29 14:36:31 +03:00
Valdis Vitolins b8fd44837a Issue #1007: replace O2 with O for MBROLA 2021-08-22 14:40:23 +03:00
guest271314 b2fcb06f65 Use Uint8Array for input data 's16' format
Avoid converting input data to Float32Array
2021-08-21 11:18:05 -07:00
Juho Hiltunen d80f1a80a2 Use ESPEAKNG_DEFAULT_VOICE instead of hard coded "en".
This will make it easier to set a default voice other than
English. This is important for cases when a language will fall back to
the default voice.

Some references to L('e', 'n') still need to be changed.
2021-08-10 19:57:53 +03:00
Juho Hiltunen 3038d40081 code cleanup: remove unnecessary #defines.
Found by parsing the results from this bash script:
for define in $(grep define *.h |  awk'{print $2}');
do if ! grep -q $define *.c
then
        echo "$define not found";
fi
done
2021-07-31 17:29:33 +03:00
Juho Hiltunen 923c779098 he: remove two lines that prevent compilation of the dictionary. 2021-07-31 17:01:45 +03:00
Valdis Vitolins b4589413d7 Fix bug in condition: 'test ...' should return false in this case 2021-07-31 16:27:44 +03:00
Valdis Vitolins d7a85b7972 Merge pull request #990 2021-07-31 16:01:49 +03:00
Valdis Vitolins 8d94d49502 Merge pull request #994 2021-07-31 15:58:21 +03:00
Omer I.S 5d97c58b69 he: add words to he_list 2021-07-31 11:49:18 +03:00
Valdis Vitolins 9425be8386 Allow several pipe delimited hash values for Klatt tests 2021-07-30 23:05:33 +03:00
Valdis Vitolins 9e3528e6a9 Merge pull request #991 2021-07-30 21:58:15 +03:00
Valdis Vitolins fda3504911 Android build doesn't work with gradle 7.0.1 2021-07-30 21:57:34 +03:00
Juho Hiltunen e91d0a5861 code cleanup: don't add a \0 to voices_language in LoadVoice().
This is unnecessary since the string is already null terminated in the
V_LANGUAGE switch case. sscanf creates a null terminated string in
language_name, which is then copied to voice_language by strcpy (keeping
the \0).
2021-07-30 17:18:47 +03:00
Valdis Vitolins aa992d8e5a Add Hebrew MBROLA voices to the list 2021-07-30 11:40:27 +03:00
jaacoppi d493a9dd37 Merge pull request #992
he: Add ךְ and ךָ
2021-07-30 08:39:04 +03:00
Omer I.S e1d9ae0e81 Add ךָ and ךְ 2021-07-30 02:05:27 +03:00
Valdis Vitolins 3b637450e9 Issue #825: add initial support for Hebrew MBROLA voices 2021-07-29 22:57:39 +03:00
Juho Hiltunen eae0665be5 code cleanup: move voices->width in LoadVoice()
It's probably unnecessary code and could be removed. However, it would
break tests. This is a temporary solution.

The solution is to do it once in VoiceReset() and then if the "formant"
keyword changes voice->width.
2021-07-28 22:11:47 +03:00
Juho Hiltunen c28412db78 Don't set stress_flags with language option "stressRule".
Language option "stressOpt" already handles separate flags instead of a
single integer. There's no reason to have two ways of setting the same
option.
2021-07-27 22:15:28 +03:00
Juho Hiltunen 4f5f1e8310 doc: add documentation for language option "stressOpt" 2021-07-27 22:15:28 +03:00
Juho Hiltunen 537617afc5 et: fi: move stressopt from tr_languages.c to language files
This is to make sure "stressopt" language option works. Current tests
would fail if it didn't.
2021-07-27 22:15:28 +03:00
Juho Hiltunen 602847371d rename language option stressopt to stressOpt 2021-07-27 22:15:28 +03:00
Juho Hiltunen a6abb1e89b code cleanup: use ReadNumbers() for language options "dictrules", "stressopt"
language option "numbers" could be changed to use the same function, but
it needs tests.
2021-07-27 22:15:28 +03:00
Juho Hiltunen fdc1afd407 code cleanup: new function ReadNumbers()
ReadNumbers8) parses an unknown number of numbers from language files.
Used mostly for setting flags.
Used mostly for setting flags.
2021-07-27 22:15:28 +03:00
Juho Hiltunen ac643ea5ad code cleanup: remove unnecessary call to SelectPhonemeTable()
It is called multiple times in LoadVoice().
2021-07-26 17:43:15 +03:00
Juho Hiltunen 80895db0a8 code cleanup: move SetSpeed() inside the switch case in LoadVoice()
SetSpeed is needed when "speed" keyword changes voice->speed_percent.
2021-07-26 17:07:42 +03:00
heidari78 4fce71a879 android version: updated voice variant list and Persian translation.
1: Added missing voice variants in the NVDA category including Iven 4, Steph, Steph 2 and Steph 3.
2: Completed the Persian translation.
2021-07-25 12:30:15 +04:30
guest271314 3ec8db404b Remove AudioBuffer use AudioData 2021-07-24 21:44:46 -07:00
guest271314 b148a7ad1f Update AudioStream.js 2021-07-24 21:02:03 -07:00
guest271314 6874f6e913 Use read().done to verify all bytes are written
Substitute using existing defined done of ReadableStreamDefaultReader.read() for value.length < this.channelDataLength &&
(await this.inputReader.read()).done to verify all input stream bytes are written
2021-07-24 20:03:03 -07:00