1Microsoft Speech API 5.1 support for CLUSTERGEN Voices 2------------------------------------------------------ 3 4Copyright (2015) Cobalt Speech and Language Inc 5 6Alok Parlikar <alok@cobaltspeech.com> 7December 2015 8 9------------------------------------------------------ 10 11To use CLUSTERGEN voices under SAPI, 121. Open the "flite_sapi.sln" solution with Visual Studio. 132. Go to Build -> Batch Build 143. Choose to build FliteCMUGenericCG in Release mode for x86 and Win32. 15 16This will create the following files: 17 flite/sapi/Win32/Release/FliteCMUGenericCG_Win32.dll 18 flite/sapi/x64/Release/FliteCMUGenericCG_x64.dll 19 20In order to use these libraries, you will need to register these libraries 21and use them with a flitevox file. 22 23ASSUMPTION: Your voice file is in C:\xyz.flitevox 24 251. Register (regsvr32) the appropriate DLL file based on your Windows version. 26 272. Create registry entries for each flitevox file you would like to use. 28 29Here 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 43