Yury Popov
f5ead44481
code cleanup: static current_phoneme_table
2022-11-19 17:52:16 +03:00
Yury Popov
504ab4937d
code cleanup: static current_voice_selected
2022-11-19 17:29:16 +03:00
Yury Popov
2ddb8ce2db
code cleanup: const embedded_default
2022-11-19 17:29:16 +03:00
Yury Popov
89b2a55ea4
code cleanup: remove static from WordToString
2022-11-19 17:29:16 +03:00
Yury Popov
5a37bc301b
code clanup: remove unused samplerate_native
2022-11-19 17:29:16 +03:00
Yury Popov
3de7c4cdb1
code cleanup: remove unused resample_count
2022-11-19 17:29:16 +03:00
Alexander Epaneshnikov
3556c543ab
Rework CI ( #1539 )
...
- Add more compilers - especially GCC on macOS and Clang.
- Add more architectures - especially RISC-V-64
- Move build outside of QEMU (use cross-compilation)
- Use qemu-user for test on target environment
- Add Android CI with APK artifacts
2022-11-19 17:17:19 +03:00
Juho Hiltunen
b368302170
MerGe branch 'phonemelist_cleanup'
2022-11-19 12:07:58 +02:00
Juho Hiltunen
7c13683b68
code cleanup: reduce code duplication with ReInterpretPhoneme().
...
Found with pmd-cpd scanner. The new function could probably be named better.
2022-11-19 11:41:20 +02:00
Juho Hiltunen
e8e5e06422
cleanup: remove redundant *next2
2022-11-19 11:41:20 +02:00
Juho Hiltunen
4cbe26b711
cleanup: refactor check for LOPT_REGRESSIVE_VOICING to SetRegressiveVoicing()
2022-11-19 11:41:20 +02:00
Juho Hiltunen
84609c27bd
cleanup: reduce variable scopes in phonemelist.c
2022-11-19 11:34:08 +02:00
Juho Hiltunen
c522d8790d
code cleanup: use statics and consts when possible ( #1544 )
...
Contribute to #68
2022-11-19 11:11:14 +02:00
Alexander Epaneshnikov
c9c3e3c776
code cleanup: move vowelcharts out of phsource ( #1540 )
...
Tidying up a data source bundle, that is embedded e.g. in iOS app
2022-11-18 18:17:48 +03:00
Yury Popov
2929b9e199
code cleanup: use statics and consts when possible
2022-11-18 17:48:04 +03:00
Yury Popov
9e74f721ae
code cleanup: move vowelcharts out of phsource
2022-11-18 10:32:19 +03:00
Yury Popov
6b7dda4cb5
ci: Disable Thread sanitizer for aarch64
2022-11-18 00:44:50 +03:00
Yury Popov
c24a431c96
ci: add Android
2022-11-18 00:44:43 +03:00
Yury Popov
54d738259b
ci: rework jobs, add more platforms
2022-11-18 00:44:27 +03:00
Yury Popov
391a7191ad
ci: Split dist checks from CI run, upgrade outdated actions
2022-11-18 00:44:13 +03:00
Juho Hiltunen
0f3fb42b62
code cleanup: reduce global externs ( #1536 )
...
Contribute to #68
Reduce count of globals / externs that could be a file-local static
variables
2022-11-16 06:33:32 +02:00
Yury Popov
3da51991f8
code cleanup: reduce global externs
2022-11-15 22:38:22 +03:00
Juho Hiltunen
1b930c53f3
Allow <break> at the beginning of SSML ( #1531 )
...
Fixes #1232
2022-11-15 20:51:28 +02:00
Juho Hiltunen
7ed32edc63
code cleanup: localize compiledict static objects ( #1534 )
...
Contribute to #68
compiledict.c is clean from global state now
```bash
nm -C -l -fbsd src/libespeak-ng/la-compiledict.o | grep -E ' b | B '
```
2022-11-15 20:46:22 +02:00
Juho Hiltunen
4e7b0ddc75
code cleanup: localize compiledata static objects ( #1532 )
...
Contribute to #68
compiledata.c is clean from global state now
```bash
nm -C -l -fbsd src/libespeak-ng/la-compiledata.o | grep -E ' b | B '
```
2022-11-15 20:45:13 +02:00
Alexander Epaneshnikov
6382e36787
Fix rate setting without libsonic ( #1524 )
...
Move a code that should be shared outside HAVE_SONIC_H ifdef.
That also simplifies prosody SSML tests (made by @sthibaul) by removing
unnecessary cases.
Ref: #1512 #1368
2022-11-15 19:36:15 +03:00
Juho Hiltunen
29ff8f1753
Use deterministic random generator ( #1530 )
...
Fixes #1528
Now, `klatt` and `breath`-enabled variants may be added to tests
2022-11-15 18:24:19 +02:00
Yury Popov
4d9b4ad1f9
Fix and re-enable klatt test
2022-11-15 10:03:04 +03:00
Yury Popov
e2c44ab965
Add breath/klatt variants to tests
2022-11-15 10:03:03 +03:00
Yury Popov
ca4b340cc3
Use deterministic espeak-ng in tests
2022-11-15 10:03:03 +03:00
Yury Popov
24892aae06
Support deterministic PRNG mode in CLI
2022-11-15 10:00:17 +03:00
Yury Popov
09cdf8ce66
Add public API to seed PRNG
2022-11-15 09:59:06 +03:00
Yury Popov
1e279d3cb8
Add PRNG and use it instead of rand()
2022-11-15 09:58:29 +03:00
Yury Popov
98dc5c67e9
klatt: fix logic error causes buffer overrun
2022-11-15 09:51:55 +03:00
Yury Popov
adc6855c11
klatt: fix possible buffer overrun
2022-11-15 09:50:55 +03:00
Yury Popov
1e2404714d
code cleanup: localize compiledict static objects
2022-11-15 00:07:45 +03:00
Alexander Epaneshnikov
086401a48a
Russian: fix for майонез rule, Whitch fix's майонеза, and майонезный ( #1529 )
2022-11-14 12:57:42 +03:00
Yury Popov
1565bab07a
code cleanup: localize compiledata static objects
2022-11-14 02:40:53 +03:00
Yury Popov
7ba91ef178
Allow <break> at the beginning of SSML
2022-11-13 23:12:28 +03:00
kirill-jjj
ca35f898f0
Russian: fix for майонез rule, whitch fix's майонеза, and майонезный
2022-11-13 19:42:59 +05:00
Yury Popov
38e0f4b1f5
Fix rate setting without libsonic
2022-11-12 11:50:08 +03:00
Juho Hiltunen
38384e4a67
Fix non-SSML pauses with libsonic ( #1526 )
...
Following #1512
Ref: espeak-ng/espeak-ng-ios-app#34
I unfortunately have broken in-speech pauses by fixing ones that should
be constant-time.
This reverts such change and adds a compensation to SSML code.
2022-11-12 10:06:50 +02:00
Yury Popov
44b514febf
Compensate SSML break time for libsonic
2022-11-12 09:59:01 +03:00
Yury Popov
7d0b6f3019
Revert "Compensate silence duration when sonic enabled"
...
This reverts commit 9f0b23f49e .
2022-11-11 23:51:18 +03:00
Samuel Thibault
6ffdb44520
Re-enable 260% test now that msan CI doesn't use sonic ( #1522 )
2022-11-10 09:38:44 +01: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
9a6afde61c
Disable use of libsonic with msan ( #1521 )
...
msan requires that we build all code with msan to avoid false positives.
2022-11-10 03:03:58 +01:00
Samuel Thibault
1e9782d22a
Disable use of libsonic with msan
...
msan requires that we build all code with msan to avoid false positives.
2022-11-10 02:56:15 +01:00
Samuel Thibault
1bf817e03c
Fix testsuite without libsonic
2022-11-10 02:56:15 +01:00
Alexander Epaneshnikov
797846ff10
Russian update ( #1520 )
2022-11-09 22:47:05 +03:00