| 1 |
Microsoft Speech API 5.1 support for CLUSTERGEN Voices |
| 2 |
------------------------------------------------------ |
| 3 |
|
| 4 |
Copyright (2015) Cobalt Speech and Language Inc |
| 5 |
|
| 6 |
Alok Parlikar <[email protected]> |
| 7 |
December 2015 |
| 8 |
|
| 9 |
------------------------------------------------------ |
| 10 |
|
| 11 |
To use CLUSTERGEN voices under SAPI, |
| 12 |
1. Open the "flite_sapi.sln" solution with Visual Studio. |
| 13 |
2. Go to Build -> Batch Build |
| 14 |
3. Choose to build FliteCMUGenericCG in Release mode for x86 and Win32. |
| 15 |
|
| 16 |
This will create the following files: |
| 17 |
flite/sapi/Win32/Release/FliteCMUGenericCG_Win32.dll |
| 18 |
flite/sapi/x64/Release/FliteCMUGenericCG_x64.dll |
| 19 |
|
| 20 |
In order to use these libraries, you will need to register these libraries |
| 21 |
and use them with a flitevox file. |
| 22 |
|
| 23 |
ASSUMPTION: Your voice file is in C:\xyz.flitevox |
| 24 |
|
| 25 |
1. Register (regsvr32) the appropriate DLL file based on your Windows version. |
| 26 |
|
| 27 |
2. Create registry entries for each flitevox file you would like to use. |
| 28 |
|
| 29 |
Here is an example of registry data you need to create: |
| 30 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001"; ValueType: string; ValueName: "CLSID"; ValueData: "{{435A0515-F568-4A0A-B5A3-42844348602F}" |
| 31 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001"; ValueType: string; ValueData: "Flite Voice 01" |
| 32 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001"; ValueType: string; ValueName: "409"; ValueData: "Flite Voice 01" |
| 33 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001"; ValueType: string; ValueName: "voxdir"; ValueData: "C:\xyz.flitevox" |
| 34 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001\Attributes"; ValueType: string; ValueName: "Gender"; ValueData: "Male" |
| 35 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001\Attributes"; ValueType: string; ValueName: "Name"; ValueData: "Flite Voice 01" |
| 36 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001\Attributes"; ValueType: string; ValueName: "Language"; ValueData: "409;9" |
| 37 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001\Attributes"; ValueType: string; ValueName: "Age"; ValueData: "Adult" |
| 38 |
"SOFTWARE\Microsoft\Speech\Voices\Tokens\Flite001\Attributes"; ValueType: string; ValueName: "Vendor"; ValueData: "Flite" |
| 39 |
|
| 40 |
################################################################################ |
| 41 |
|
| 42 |
|