Browse Source

voices: support a status annotation in voice files

master
Reece H. Dunn 9 years ago
parent
commit
b620f42775
3 changed files with 17 additions and 2 deletions
  1. 2
    2
      CHANGELOG.md
  2. 12
    0
      docs/voices.md
  3. 3
    0
      src/libespeak-ng/voices.c

+ 2
- 2
CHANGELOG.md View File

* Group languages by their language family and use BCP47 compliant names. * Group languages by their language family and use BCP47 compliant names.
* Support for Windows and BSD platforms. * Support for Windows and BSD platforms.
* Removed support for WinCE, MS-DOS and RiscOS. * 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: build:



+ 12
- 0
docs/voices.md View File

files. If no maintainer is specified, the voice does not currently have an files. If no maintainer is specified, the voice does not currently have an
active maintainer. 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 ## Voice Attributes


### pitch ### pitch

+ 3
- 0
src/libespeak-ng/voices.c View File

V_DICTIONARY, V_DICTIONARY,


V_MAINTAINER, V_MAINTAINER,
V_STATUS,


// these affect voice quality, are independent of language // these affect voice quality, are independent of language
V_FORMANT, V_FORMANT,
{ "gender", V_GENDER }, { "gender", V_GENDER },


{ "maintainer", V_MAINTAINER }, { "maintainer", V_MAINTAINER },
{ "status", V_STATUS },


{ "formant", V_FORMANT }, { "formant", V_FORMANT },
{ "pitch", V_PITCH }, { "pitch", V_PITCH },
} }
break; break;
case V_MAINTAINER: case V_MAINTAINER:
case V_STATUS:
break; break;
default: default:
if ((key & 0xff00) == 0x100) if ((key & 0xff00) == 0x100)

Loading…
Cancel
Save