From 0d4fd0f3ed2f5ca920dc29207d3043275cd07f7f Mon Sep 17 00:00:00 2001 From: m-toman Date: Tue, 2 Dec 2014 14:16:16 +0100 Subject: [PATCH] Renaming #3 --- sapi/bin/register-leo.bat | 2 +- sapi/bin64/register-leo.bat | 2 +- sapi/register/register-voice.cpp | 2 +- test/src/tests.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sapi/bin/register-leo.bat b/sapi/bin/register-leo.bat index c19e00f..40688fd 100644 --- a/sapi/bin/register-leo.bat +++ b/sapi/bin/register-leo.bat @@ -32,7 +32,7 @@ echo %CD% @echo on regsvr32 "%CD%\htstts.dll" -"%CD%\register-voice.exe" "%CD%\leo.htsvoice" "Leopold" "de-at" "male" "adult" "%CD%\leo.log" "%CD%\leo.rules" +"%CD%\register-voice.exe" "%CD%\leo.htsvoice" "Leo" "de-at" "male" "adult" "%CD%\leo.log" "%CD%\leo.rules" @echo off diff --git a/sapi/bin64/register-leo.bat b/sapi/bin64/register-leo.bat index 9317e09..7afea48 100644 --- a/sapi/bin64/register-leo.bat +++ b/sapi/bin64/register-leo.bat @@ -32,7 +32,7 @@ echo %CD% @echo on regsvr32 "%CD%\htstts.dll" -"%CD%\register-voice.exe" "%CD%\leo.htsvoice" "Leopold64" "de-at" "male" "adult" "%CD%\leo.log" "%CD%\leo.rules" +"%CD%\register-voice.exe" "%CD%\leo.htsvoice" "Leo64" "de-at" "male" "adult" "%CD%\leo.log" "%CD%\leo.rules" @echo off diff --git a/sapi/register/register-voice.cpp b/sapi/register/register-voice.cpp index 36e5b57..2756456 100644 --- a/sapi/register/register-voice.cpp +++ b/sapi/register/register-voice.cpp @@ -67,7 +67,7 @@ int wmain(int argc, WCHAR* argv[]) { ISpDataKey* cpDataKeyAttribs; WCHAR* voicePath = L"C:\\leo.htsvoice"; - WCHAR* voiceName = L"SALB Leopold"; + WCHAR* voiceName = L"SALB Leo"; WCHAR* voiceLang = L"de-at"; WCHAR* voiceGender = L"male"; WCHAR* voiceAge = L"Adult"; diff --git a/test/src/tests.cpp b/test/src/tests.cpp index 77e1a58..af41f18 100644 --- a/test/src/tests.cpp +++ b/test/src/tests.cpp @@ -264,7 +264,7 @@ class InternalTextAnalyzerTest : public Test { (*properties)[PROPERTY_KEY_SYNTHESIZER] = PROPERTY_VALUE_HTSENGINE; //- use hts_engine as synthesizer (*properties)[PROPERTY_KEY_VOICE_PATH] = "testdata/leo.htsvoice"; //- path to the hts model file - (*properties)[PROPERTY_KEY_VOICE_NAME] = "Leopold"; //- voice name + (*properties)[PROPERTY_KEY_VOICE_NAME] = "Leo"; //- voice name (*properties)[PROPERTY_KEY_VOLUME] = "100"; //- voice volume 0-100 return testLabelGen1(); @@ -305,4 +305,4 @@ int main(int argc, char* argv[]) { std::cin >> tmp; return 0; -} \ No newline at end of file +}