How do I develop applications that speak with CereProc CereVoice?

Last reviewed: 7/15/2015

HOW Article ID: H061403

The information in this article applies to:

  • Chant Developer Workbench 2015
  • Chant Developer Workbench 2014
  • SpeechKit 8

Summary

Chant Developer Workbench provides support for CereProc CereVoice.

More Information

Chant Developer Workbench supports synthesizing with CereProc CereVoice voices.

Applications can synthesize with CereProc CereVoice voices.

To audition CereProc CereVoice voices, discuss your application requirements and request an evaluation SDK from CereProc support at CereProc +44 (0)131 516 8532.

The voice can be selected by setting the CSPEngine property to voice name once the API is initialized.

Set the CereProc 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 CereProc node;
  4. click the open folders button (...) for CereProc to select a path;
  5. enter your license key values; and
  6. click the OK button to save your path.

Set the CNPEngineAPI, CSPEnginePath, CSPLanguagePath, and CSPVoiceLicenseKey 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.CECereVoice);
NChantTTS1.SetStringProperty(ChantStringProperty.CSPEnginePath, "C:\\Program Files\\CereProc");
NChantTTS1.SetStringProperty(ChantStringProperty.CSPLanguagePath, "C:\\Program Files\\CereProc\\cerevoice_katherine_3.0.9_22k");
NChantTTS1.SetStringProperty(ChantStringProperty.CSPVoiceLicenseKey, "C:\\Program Files\\CereProc\\license.lic");
       

CChantTTS* pChantTTS;  // ChantTTS object

// Instantiate ChantTTS object
pChantTTS = new CChantTTS();
pChantTTS->SetNumberProperty(CNPEngineAPI, CECereVoice);
pChantTTS->SetStringProperty(CSPEnginePath, L"C:\\Program Files\\CereProc");
pChantTTS->SetStringProperty(CSPLanguagePath, L"C:\\Program Files\\CereProc\\cerevoice_katherine_3.0.9_22k");
pChantTTS->SetStringProperty(CSPVoiceLicenseKey, L"C:\\Program Files\\CereProc\\license.lic");
    

CChantTTS* pChantTTS;  // ChantTTS object

// Instantiate ChantTTS object
pChantTTS = new CChantTTS();
pChantTTS->SetNumberProperty(CNPEngineAPI, CECereVoice);
pChantTTS->SetStringProperty(CSPEnginePath, L"C:\\Program Files\\CereProc");
pChantTTS->SetStringProperty(CSPLanguagePath, L"C:\\Program Files\\CereProc\\cerevoice_katherine_3.0.9_22k");
pChantTTS->SetStringProperty(CSPVoiceLicenseKey, L"C:\\Program Files\\CereProc\\license.lic");

var
ChantTTS1: TChantTTS;
begin
// Instantiate ChantTTS object
ChantTTS1 := TChantTTS.Create();
ChantTTS1.SetNumberProperty(CNPEngineAPI, CECereVoice);
ChantTTS1.SetStringProperty(CSPEnginePath, 'C:\\Program Files\\CereProc');
ChantTTS1.SetStringProperty(CSPLanguagePath, 'C:\\Program Files\\CereProc\\cerevoice_katherine_3.0.9_22k');
ChantTTS1.SetStringProperty(CSPVoiceLicenseKey, 'C:\\Program Files\\CereProc\\license.lic');
end;
    

private JChantTTS JChantTTS1;

// Instantiate ChantTTS object
JChantTTS1 = new JChantTTS();
JChantTTS1.setNumberProperty(ChantNumberProperty.CNPEngineAPI, ChantEngineAPI.CECereVoice);
JChantTTS1.setStringProperty(ChantStringProperty.CSPEnginePath, "C:\\Program Files\\CereProc");
JChantTTS1.setStringProperty(ChantStringProperty.CSPLanguagePath, "C:\\Program Files\\CereProc\\cerevoice_katherine_3.0.9_22k");
JChantTTS1.setStringProperty(ChantStringProperty.CSPVoiceLicenseKey, "C:\\Program Files\\CereProc\\license.lic");
    

Dim WithEvents NChantTTS1 As NChantTTS

' Instantiate ChantTTS object
NChantTTS1 = New NChantTTS()
NChantTTS1.SetNumberProperty(ChantNumberProperty.CNPEngineAPI, ChantEngineAPI.CECereVoice)
NChantTTS1.SetStringProperty(ChantStringProperty.CSPEnginePath, "C:\Program Files\CereProc")
NChantTTS1.SetStringProperty(ChantStringProperty.CSPLanguagePath, "C:\Program Files\CereProc\cerevoice_katherine_3.0.9_22k")
NChantTTS1.SetStringProperty(ChantStringProperty.CSPVoiceLicenseKey, "C:\Program Files\CereProc\license.lic")