|
|
|
|
|
|
|
|
"\t directory. <voice name> specifies the language\n" |
|
|
"\t directory. <voice name> specifies the language\n" |
|
|
"--compile-mbrola=<voice name>\n" |
|
|
"--compile-mbrola=<voice name>\n" |
|
|
"\t Compile an MBROLA voice\n" |
|
|
"\t Compile an MBROLA voice\n" |
|
|
|
|
|
"--compile-intonations\n" |
|
|
|
|
|
"\t Compile the intonation data\n" |
|
|
|
|
|
"--compile-phonemes\n" |
|
|
|
|
|
"\t Compile the phoneme data\n" |
|
|
"--ipa Write phonemes to stdout using International Phonetic Alphabet\n" |
|
|
"--ipa Write phonemes to stdout using International Phonetic Alphabet\n" |
|
|
"--path=\"<path>\"\n" |
|
|
"--path=\"<path>\"\n" |
|
|
"\t Specifies the directory containing the espeak-data directory\n" |
|
|
"\t Specifies the directory containing the espeak-data directory\n" |
|
|
|
|
|
|
|
|
{"sep", optional_argument, 0, 0x10c}, |
|
|
{"sep", optional_argument, 0, 0x10c}, |
|
|
{"tie", optional_argument, 0, 0x10d}, |
|
|
{"tie", optional_argument, 0, 0x10d}, |
|
|
{"compile-mbrola", optional_argument, 0, 0x10e}, |
|
|
{"compile-mbrola", optional_argument, 0, 0x10e}, |
|
|
|
|
|
{"compile-intonations", no_argument, 0, 0x10f}, |
|
|
|
|
|
{"compile-phonemes", no_argument, 0, 0x110}, |
|
|
{0, 0, 0, 0} |
|
|
{0, 0, 0, 0} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
espeak_ng_CompileMbrolaVoice(optarg2, stdout); |
|
|
espeak_ng_CompileMbrolaVoice(optarg2, stdout); |
|
|
exit(0); |
|
|
exit(0); |
|
|
|
|
|
|
|
|
|
|
|
case 0x10f: // --compile-intonations |
|
|
|
|
|
samplerate = espeak_Initialize(AUDIO_OUTPUT_PLAYBACK,0,data_path,espeakINITIALIZE_PATH_ONLY); |
|
|
|
|
|
espeak_ng_CompileIntonation(stdout); |
|
|
|
|
|
exit(0); |
|
|
|
|
|
|
|
|
|
|
|
case 0x110: // --compile-phonemes |
|
|
|
|
|
samplerate = espeak_Initialize(AUDIO_OUTPUT_PLAYBACK,0,data_path,espeakINITIALIZE_PATH_ONLY); |
|
|
|
|
|
espeak_ng_CompilePhonemeData(22050, stdout); |
|
|
|
|
|
exit(0); |
|
|
|
|
|
|
|
|
default: |
|
|
default: |
|
|
exit(0); |
|
|
exit(0); |
|
|
} |
|
|
} |