How do I develop applications that speak with Acapela Telecom Server and Mobile?

Last reviewed: 7/15/2015

HOW Article ID: H061402

The information in this article applies to:

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

Summary

Chant Developer Workbench provides support for Acapela Telecom Server and Mobile.

More Information

Chant Developer Workbench supports synthesizing with Acapela Telecom Server and Mobile voices.

Applications can synthesize with Acapela Telecom Server voices and Acapela Mobile voices.

To audition Acapela Telecom Server and Mobile voices, discuss your application requirements and request an evaluation SDK from Susanne Magnusson at Acapela +32 (0)65 37 42 75.

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

Set the Acapela NSC TTS 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 Acapela Multimedia node;
  4. click the open folders button (...) for Acapela to select an engine path;
  5. click the open folders button (...) for to select a language path (e.g., C:\Program Files\Acapela Group\WindowsMobile\\voices); and
  6. enter your license key value;
  7. enter address family value;
  8. enter server address value; and
  9. click the OK button to save your path.

Set the CNPEngineAPI, CSPVoiceLicenseKey, CSPEnginePath, CNPAddressFamily, and CSPSrvAddress 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.CENSCTTS);
NChantTTS1.SetStringProperty(ChantStringProperty.CSPVoiceLicenseKey, "license");
NChantTTS1.SetStringProperty(ChantStringProperty.CSPEnginePath, "C:\\Program Files\\Acapela Group\\WindowsMobile");     
NChantTTS1.SetNumberProperty(ChantNumberProperty.CNPAddressFamily, 1);
NChantTTS1.SetStringProperty(ChantStringProperty.CSPSrvAddress, "127.0.0.1");
       

CChantTTS* pChantTTS;  // ChantTTS object

// Instantiate ChantTTS object
pChantTTS = new CChantTTS();
pChantTTS->SetNumberProperty(CNPEngineAPI, CENSCTTS);
pChantTTS->SetStringProperty(CSPVoiceLicenseKey, L"license");
pChantTTS->SetStringProperty(CSPEnginePath, L"C:\\Program Files\\Acapela Group\\WindowsMobile");     
pChantTTS->SetNumberProperty(CNPAddressFamily, 1);
pChantTTS->SetStringProperty(CSPSrvAddress, L"127.0.0.1");
    

CChantTTS* pChantTTS;  // ChantTTS object

// Instantiate ChantTTS object
pChantTTS = new CChantTTS();
pChantTTS->SetNumberProperty(CNPEngineAPI, CENSCTTS);
pChantTTS->SetStringProperty(CSPVoiceLicenseKey, "license");
pChantTTS->SetStringProperty(CSPEnginePath, "C:\\Program Files\\Acapela Group\\WindowsMobile");     
pChantTTS->SetNumberProperty(CNPAddressFamily, 1);
pChantTTS->SetStringProperty(CSPSrvAddress, "127.0.0.1");

var
ChantTTS1: TChantTTS;
begin
// Instantiate ChantTTS object
ChantTTS1 := TChantTTS.Create();
ChantTTS1.SetNumberProperty(CNPEngineAPI, CENSCTTS);
ChantTTS1.SetStringProperty(CSPVoiceLicenseKey, 'license');
ChantTTS1.SetStringProperty(CSPEnginePath, 'C:\\Program Files\\Acapela Group\\WindowsMobile');
ChantTTS1.SetNumberProperty(CNPAddressFamily, 1);
ChantTTS1.SetStringProperty(CSPSrvAddress, '127.0.0.1');
end;
    

private JChantTTS JChantTTS1;

// Instantiate ChantTTS object
JChantTTS1 = new JChantTTS();
JChantTTS1.setNumberProperty(ChantNumberProperty.CNPEngineAPI, ChantEngineAPI.CENSCTTS);
JChantTTS1.setStringProperty(ChantStringProperty.CSPVoiceLicenseKey, "license");
JChantTTS1.setStringProperty(ChantStringProperty.CSPEnginePath, "C:\\Program Files\\Acapela Group\\WindowsMobile");     
JChantTTS1.setNumberProperty(ChantNumberProperty.CNPAddressFamily, 1);
JChantTTS1.setStringProperty(ChantStringProperty.CSPSrvAddress, "127.0.0.1");
    

Dim WithEvents NChantTTS1 As NChantTTS

' Instantiate ChantTTS object
NChantTTS1 = New NChantTTS()
NChantTTS1.SetNumberProperty(ChantNumberProperty.CNPEngineAPI, ChantEngineAPI.CENSCTTS)
NChantTTS1.SetStringProperty(ChantStringProperty.CSPVoiceLicenseKey, "license")
NChantTTS1.SetStringProperty(ChantStringProperty.CSPEnginePath, "C:\Program Files\Acapela Group\WindowsMobile")
NChantTTS1.SetNumberProperty(ChantNumberProperty.CNPAddressFamily, 1)
NChantTTS1.SetStringProperty(ChantStringProperty.CSPSrvAddress, "127.0.0.1")