Commit Graph
2111 Commits
Author SHA1 Message Date
Yury Popov 41f5703fde code cleanup: fix -Wnewline-eof 2023-01-01 21:22:59 +03:00
Yury Popov 04ce972800 ssml: handle invalid break strength 2022-12-10 21:44:10 +03:00
Yury Popov 6bb25fbb07 windows: fix mingw build 2022-12-09 00:49:31 +03:00
Yury Popov 91b3959170 windows: fix DLL build 2022-12-09 00:49:30 +03:00
Yury Popov 9725cedc8e windows: fix definitions 2022-12-08 22:22:07 +03:00
Yury Popov 3a68f0f74d code cleanup: compiledict: do not use temp file 2022-12-04 12:17:02 +03:00
Yury Popov 2f068b15a5 build, ci: windows build 2022-12-02 21:34:33 +03:00
Yury Popov c60a49d711 build: support building with cmake 2022-12-02 21:34:33 +03:00
Yury Popov 820b85ed21 fifo, event: fix thread management 2022-11-27 17:45:17 +03:00
Yury Popov 78ac6c4a88 code cleanup: do not compile mbrola if not enabled 2022-11-27 14:54:51 +03:00
Yury Popov 92beee2b4c code cleanup: remove dead code 2022-11-27 14:54:51 +03:00
Yury Popov ca1f590101 code cleanup: standartize definitions 2022-11-27 14:54:51 +03:00
Yury Popov c8a21a5463 code cleanup: header detection with has_include 2022-11-27 14:54:48 +03:00
Yury Popov b996d39d40 splayer: fix memory leak on espeak terminate 2022-11-22 19:50:31 +03:00
Samuel Thibault b5b3231e52 espeak-ng: Add -P option to configure pitch range 2022-11-21 20:52:38 +01:00
Juho Hiltunen 6362245b24 code cleanup: combine two identical if-clauses 2022-11-20 19:27:31 +02:00
Juho Hiltunen e5f95289ad code cleanup: remove setting unread variable. 2022-11-20 19:15:19 +02:00
Juho Hiltunen 745ae078fb code cleanup: reduce variable scopes in compiledata.c 2022-11-20 19:00:53 +02:00
Juho Hiltunen c496da5bf6 code cleanup: reduce duplication with new function CalculateSample() 2022-11-20 18:22:27 +02:00
Juho Hiltunen bbfef6a269 code cleanup: reduce duplication with new function DollarRule() 2022-11-20 17:31:27 +02:00
Yury Popov 100df4c067 code cleanup: reduce return of static buffers 2022-11-19 17:52:16 +03:00
Yury Popov 29f7afc688 code cleanup: const vowels_be in SelectTranslator 2022-11-19 17:52:16 +03:00
Yury Popov 25c4dc150a code cleanup: static phoneme_callback 2022-11-19 17:52:16 +03:00
Yury Popov fdc2984386 code cleanup: static uri_callback 2022-11-19 17:52:16 +03:00
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
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
Yury Popov 2929b9e199 code cleanup: use statics and consts when possible 2022-11-18 17:48:04 +03: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
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
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
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