Commit Graph
19 Commits
Author SHA1 Message Date
Yury Popov 8e163d5072 ssml: support break time multiplier 2023-02-26 18:19:09 +03:00
Yury Popov a6453f3751 tests: fix and re-enable shell tests 2022-12-02 21:34:33 +03:00
Juho Hiltunen 1b930c53f3 Allow <break> at the beginning of SSML (#1531)
Fixes #1232
2022-11-15 20:51:28 +02:00
Yury Popov 7ba91ef178 Allow <break> at the beginning of SSML 2022-11-13 23:12:28 +03:00
Yury Popov 38e0f4b1f5 Fix rate setting without libsonic 2022-11-12 11:50:08 +03:00
Yury Popov 44b514febf Compensate SSML break time for libsonic 2022-11-12 09:59:01 +03:00
Samuel Thibault 359e902ebe Re-enable 260% test now that msan CI doesn't use sonic 2022-11-10 03:15:50 +01:00
Samuel Thibault 1bf817e03c Fix testsuite without libsonic 2022-11-10 02:56:15 +01:00
Yury Popov 877bab0942 Add SSML prosody-break tests 2022-11-08 22:26:01 +03:00
Yury Popov 8e92ecf91c Add libsonic to macOS CI build 2022-09-16 14:16:26 +02:00
Yury Popov 0f5a30ffcc Temporary disable tests that fails on macOS 2022-09-12 11:48:55 +03:00
Samuel Thibault 199cbe4a1a Mark re-used phoneme_list as undefined
And fill the last phlist prepause and newword fields, otherwise they are
detected as undefined:

==483407== Conditional jump or move depends on uninitialised value(s)
==483407==    at 0x488E6AB: Generate (synthesize.c:1228)
==483407==    by 0x488FD94: SpeakNextClause (synthesize.c:1587)
==483407==    by 0x4887F56: Synthesize (speech.c:457)
==483407==    by 0x488884C: sync_espeak_Synth (speech.c:570)
==483407==    by 0x487B270: espeak_Synth (espeak_api.c:90)
==483407==    by 0x10ACA0: main (espeak-ng.c:691)
==483407==  Uninitialised value was created by a client request
==483407==    at 0x4884893: MakePhonemeList (phonemelist.c:155)
==483407==    by 0x4895712: TranslateClause (translate.c:2682)
==483407==    by 0x488FCCF: SpeakNextClause (synthesize.c:1569)
==483407==    by 0x4887F56: Synthesize (speech.c:457)
==483407==    by 0x488884C: sync_espeak_Synth (speech.c:570)
==483407==    by 0x487B270: espeak_Synth (espeak_api.c:90)
==483407==    by 0x10ACA0: main (espeak-ng.c:691)
==483407==
==483407== Conditional jump or move depends on uninitialised value(s)
==483407==    at 0x488E622: Generate (synthesize.c:1211)
==483407==    by 0x488FD94: SpeakNextClause (synthesize.c:1587)
==483407==    by 0x4887F56: Synthesize (speech.c:457)
==483407==    by 0x488884C: sync_espeak_Synth (speech.c:570)
==483407==    by 0x487B270: espeak_Synth (espeak_api.c:90)
==483407==    by 0x10ACA0: main (espeak-ng.c:691)
==483407==  Uninitialised value was created by a client request
==483407==    at 0x4884893: MakePhonemeList (phonemelist.c:155)
==483407==    by 0x4895712: TranslateClause (translate.c:2682)
==483407==    by 0x488FCCF: SpeakNextClause (synthesize.c:1569)
==483407==    by 0x4887F56: Synthesize (speech.c:457)
==483407==    by 0x488884C: sync_espeak_Synth (speech.c:570)
==483407==    by 0x487B270: espeak_Synth (espeak_api.c:90)
==483407==    by 0x10ACA0: main (espeak-ng.c:691)
==483407==

This is changing the ssml.test output, but with no audible difference,
so this is probably a real fix for it.
2022-04-13 23:24:04 +02:00
Samuel Thibault 02dd413a32 Add valgrind CI run
Now that all errors are fixed.
2022-04-01 00:22:26 +02:00
Samuel Thibault f23265419d tests: Check value returned by espeak-ng
Otherwise we would miss errors produced on shutdown.
2022-03-28 00:55:41 +02:00
Valdis Vitolins ec552d2566 Move common functions into common script 2021-04-05 23:24:06 +03:00
Juho Hiltunen c62921ae0b tests: add tests for ssml <prosody> and <audio>
SSML logic has a bug (#410) where speech parameters are not changed when there's a
sentence elogic nd. The prosody bug test should fail.
2021-02-27 20:24:44 +02:00
Juho Hiltunen 959bf26b6b Add a test for XML/SSML character and entity references 2020-08-23 20:42:47 +03:00
Reece H. Dunn a9c6d6a5e9 ssml.test: pass -q to the espeak-ng command to prevent it speaking. 2018-03-03 07:40:29 +00:00
Sascha Brawer 7e669f1812 Add tests on SSML parsing
A corpus of SSML input files will also be needed for fuzzing.
https://github.com/espeak-ng/espeak-ng/issues/407
2018-03-02 11:32:36 +01:00