How do I speak with Nuance Vocalizer Expressive V2?
Last reviewed: 11/1/2016
HOW Article ID: H111604
The information in this article applies to:
- Chant Developer Workbench 2016
- LexiconKit 5
- ProfileKit 5
- SpeechKit 8
- VoiceMarkupKit 5
- VoiceXMLKit 2
Summary
Chant Developer Workbench provides support for Nuance Vocalizer Expressive V2.
More Information
Chant Developer Workbench supports synthesizing with Nuance Vocalizer Expressive V2 voices natively or via SAPI 5 speech APIs.
Both 32-bit and 64-bit applications can synthesize Nuance Vocalizer Expressive V2 voices.
To audition Nuance Vocalizer Expressive V2 voices, discuss your application requirements and request an evaluation SDK at Nuance +1 (781) 565-5000.
The voice can be selected by setting the CSPEngine property to voice name once the API is initialized.
For native API access, the Chant classes attempt to load the API libraries from the common\speech\components folder within the current working directory.
Set the Vocalizer directory and file locations in the Chant Developer Workbench IDE as follows:
- select the View Options... menu item;
- select the Speech Synthesizers node under Environment;
- select the Nuance Vocalizer node;
- click the open folders button (...) for Nuance Vocalizer Expressive V2 to select an engine path.
Set the Vocalizer directory and file locations in your applications as follows:
private Chant.SpeechKit.NChantTTS NChantTTS1;
// Instantiate NChantTTS object
NChantTTS1 = new NChantTTS();
NChantTTS1.SetNumberProperty(ChantNumberProperty.CNPEngineAPI, (int)ChantEngineAPI.CEVExpressive2);
NChantTTS1.SetStringProperty(ChantStringProperty.CSPEnginePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\");
CChantTTS* pChantTTS; // ChantTTS object
// Instantiate ChantTTS object
pChantTTS = new CChantTTS();
pChantTTS->SetNumberProperty(CNPEngineAPI, CEVExpressive2);
pChantTTS->SetStringProperty(CSPEnginePath, L"C:\\Program Files\\Nuance\\Vocalizer Expressive\\");
CChantTTS* pChantTTS; // ChantTTS object
// Instantiate ChantTTS object
pChantTTS = new CChantTTS();
pChantTTS->SetNumberProperty(CNPEngineAPI, CEVExpressive2);
pChantTTS->SetStringProperty(CSPEnginePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\");
var
ChantTTS1: TChantTTS;
begin
// Instantiate ChantTTS object
ChantTTS1 := TChantTTS.Create();
ChantTTS1.SetNumberProperty(CNPEngineAPI, CEVExpressive2);
ChantTTS1.SetStringProperty(CSPEnginePath, 'C:\\Program Files\\Nuance\\Vocalizer Expressive\\');
end;
private JChantTTS JChantTTS1;
// Instantiate ChantTTS object
JChantTTS1 = new JChantTTS();
JChantTTS1.setNumberProperty(ChantNumberProperty.CNPEngineAPI, ChantEngineAPI.CEVExpressive2);
JChantTTS1.setStringProperty(ChantStringProperty.CSPEnginePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\");
Dim WithEvents NChantTTS1 As NChantTTS
' Instantiate ChantTTS object
NChantTTS1 = New NChantTTS()
NChantTTS1.SetNumberProperty(ChantNumberProperty.CNPEngineAPI, ChantEngineAPI.CEVExpressive2)
NChantTTS1.SetStringProperty(ChantStringProperty.CSPEnginePath, "C:\Program Files\Nuance\Vocalizer Expressive\")