mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
voices: support a status annotation in voice files
This commit is contained in:
+2
-2
@@ -14,8 +14,8 @@
|
||||
* Group languages by their language family and use BCP47 compliant names.
|
||||
* Support for Windows and BSD platforms.
|
||||
* Removed support for WinCE, MS-DOS and RiscOS.
|
||||
* Add support for a `maintainer` field in voice files for tracking voice
|
||||
maintenance.
|
||||
* Add support for `maintainer` and `status` field in voice files for tracking
|
||||
voice maintenance.
|
||||
|
||||
build:
|
||||
|
||||
|
||||
@@ -150,6 +150,18 @@ Specifies the person responsible for updating the voice and associated language
|
||||
files. If no maintainer is specified, the voice does not currently have an
|
||||
active maintainer.
|
||||
|
||||
### status
|
||||
|
||||
status <status level>
|
||||
|
||||
Specifies how advanced the support for the language is:
|
||||
|
||||
* `testing` -- Provides the basic level of support, with basic pronunciation
|
||||
rules. Requires feedback from a native speaker to help improve the voice.
|
||||
|
||||
* `mature` -- The language is well supported. It has been improved by, or with
|
||||
support from, a native speaker.
|
||||
|
||||
## Voice Attributes
|
||||
|
||||
### pitch
|
||||
|
||||
@@ -72,6 +72,7 @@ enum {
|
||||
V_DICTIONARY,
|
||||
|
||||
V_MAINTAINER,
|
||||
V_STATUS,
|
||||
|
||||
// these affect voice quality, are independent of language
|
||||
V_FORMANT,
|
||||
@@ -124,6 +125,7 @@ static MNEM_TAB keyword_tab[] = {
|
||||
{ "gender", V_GENDER },
|
||||
|
||||
{ "maintainer", V_MAINTAINER },
|
||||
{ "status", V_STATUS },
|
||||
|
||||
{ "formant", V_FORMANT },
|
||||
{ "pitch", V_PITCH },
|
||||
@@ -885,6 +887,7 @@ voice_t *LoadVoice(const char *vname, int control)
|
||||
}
|
||||
break;
|
||||
case V_MAINTAINER:
|
||||
case V_STATUS:
|
||||
break;
|
||||
default:
|
||||
if ((key & 0xff00) == 0x100)
|
||||
|
||||
Reference in New Issue
Block a user