How do I speak with Nuance Vocalizer Expressive?

Last reviewed: 7/15/2015

HOW Article ID: H061401

The information in this article applies to:

  • Chant Developer Workbench 2015
  • Chant Developer Workbench 2014
  • LexiconKit 5
  • ProfileKit 5
  • SpeechKit 8
  • VoiceMarkupKit 5

Summary

Chant Developer Workbench provides support for Nuance Vocalizer Expressive.

More Information

Chant Developer Workbench supports synthesizing with Nuance Vocalizer Expressive voices.

Both 32-bit and 64-bit applications can synthesize Nuance Vocalizer Expressive voices.

To audition Nuance Vocalizer Expressive 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.

Set the Vocalizer directory and file locations in the Chant Developer Workbench IDE as follows:

  1. select the View Options... menu item;
  2. select the Speech Synthesizers node under Environment;
  3. select the Nuance Vocalizer node;
  4. click the open folders button (...) for Nuance Vocalizer Expressive to select an engine path (e.g., C:\Program Files\Nuance\Vocalizer Expressive);
  5. optionally, click the open folders button (...) for Nuance Vocalizer Expressive to select a language path (e.g., C:\Program Files\Nuance\Vocalizer Expressive\languages); and
  6. click the OK button to save your path.

Set the CNPEngineAPI, CSPEnginePath, and CSPLanguagePath properties after instantiating the Chant class object in your applications as follows:


private Chant.SpeechKit.NChantTTS NChantTTS1;

// Instantiate NChantTTS object
NChantTTS1 = new NChantTTS();
NChantTTS1.SetNumberProperty(ChantNumberProperty.CNPEngineAPI, (int)ChantEngineAPI.CEVExpressive);
NChantTTS1.SetStringProperty(ChantStringProperty.CSPEnginePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\");
NChantTTS1.SetStringProperty(ChantStringProperty.CSPLanguagePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\languages");      
       

CChantTTS* pChantTTS;  // ChantTTS object

// Instantiate ChantTTS object
pChantTTS = new CChantTTS();
pChantTTS->SetNumberProperty(CNPEngineAPI, CEVExpressive);
pChantTTS->SetStringProperty(CSPEnginePath, L"C:\\Program Files\\Nuance\\Vocalizer Expressive\\");      
pChantTTS->SetStringProperty(CSPLanguagePath, L"C:\\Program Files\\Nuance\\Vocalizer Expressive\\languages");      
    

CChantTTS* pChantTTS;  // ChantTTS object

// Instantiate ChantTTS object
pChantTTS = new CChantTTS();
pChantTTS->SetNumberProperty(CNPEngineAPI, CEVExpressive);
pChantTTS->SetStringProperty(CSPEnginePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\");      
pChantTTS->SetStringProperty(CSPLanguagePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\languages");      

var
ChantTTS1: TChantTTS;
begin
// Instantiate ChantTTS object
ChantTTS1 := TChantTTS.Create();
ChantTTS1.SetNumberProperty(CNPEngineAPI, CEVExpressive);
ChantTTS1.SetStringProperty(CSPEnginePath, 'C:\\Program Files\\Nuance\\Vocalizer Expressive\\Common\\Speech\\Components');
ChantTTS1.SetStringProperty(CSPLanguagePath, 'C:\\Program Files\\Nuance\\Vocalizer Expressive\\languages');
end;
    

private JChantTTS JChantTTS1;

// Instantiate ChantTTS object
JChantTTS1 = new JChantTTS();
JChantTTS1.setNumberProperty(ChantNumberProperty.CNPEngineAPI, ChantEngineAPI.CEVExpressive);
JChantTTS1.setStringProperty(ChantStringProperty.CSPEnginePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\");
JChantTTS1.setStringProperty(ChantStringProperty.CSPLanguagePath, "C:\\Program Files\\Nuance\\Vocalizer Expressive\\languages");      
    

Dim WithEvents NChantTTS1 As NChantTTS

' Instantiate ChantTTS object
NChantTTS1 = New NChantTTS()
NChantTTS1.SetNumberProperty(ChantNumberProperty.CNPEngineAPI, ChantEngineAPI.CEVExpressive)
NChantTTS1.SetStringProperty(ChantStringProperty.CSPEnginePath, "C:\Program Files\Nuance\Vocalizer Expressive\")
NChantTTS1.SetStringProperty(ChantStringProperty.CSPLanguagePath, "C:\Program Files\Nuance\Vocalizer Expressive\languages")