mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-24 20:31:15 +00:00
voices: support a maintainer annotation in voice files
This commit is contained in:
@@ -71,6 +71,8 @@ enum {
|
||||
V_PHONEMES,
|
||||
V_DICTIONARY,
|
||||
|
||||
V_MAINTAINER,
|
||||
|
||||
// these affect voice quality, are independent of language
|
||||
V_FORMANT,
|
||||
V_PITCH,
|
||||
@@ -121,6 +123,8 @@ static MNEM_TAB keyword_tab[] = {
|
||||
{ "language", V_LANGUAGE },
|
||||
{ "gender", V_GENDER },
|
||||
|
||||
{ "maintainer", V_MAINTAINER },
|
||||
|
||||
{ "formant", V_FORMANT },
|
||||
{ "pitch", V_PITCH },
|
||||
{ "phonemes", V_PHONEMES },
|
||||
@@ -880,6 +884,8 @@ voice_t *LoadVoice(const char *vname, int control)
|
||||
fprintf(stderr, "dictdialect name '%s' not recognized\n", name1);
|
||||
}
|
||||
break;
|
||||
case V_MAINTAINER:
|
||||
break;
|
||||
default:
|
||||
if ((key & 0xff00) == 0x100)
|
||||
sscanf(p, "%d", &langopts->param[key &0xff]);
|
||||
|
||||
Reference in New Issue
Block a user