Developing applications that do more with Acapela Speech Technology

Last reviewed: 12/23/2020

HOW Article ID: H122001

The information in this article applies to:

  • LexiconKit 6
  • SpeechKit 9
  • VoiceMarkupKit 6

Summary

Explore ways to do more with Acapela Speech Technology.

More Information

Chant Developer Workbench 2020 includes LexiconKit to manage pronunciations for synthesis clarity, SpeechKit to synthesize text to speech, and VoiceMarkupKit to markup text for tailored speech synthesis. It also provides an interative toolset for editing and testing Acapela pronunciations, speech synthesis, and Speech Synthesis Markup Language (SSML).

Develop applications that do more with Acapela Speech Technology

Edit pronunciation phonemes with LexiconKit to use with markup tags for Acapela voices.


// Instantiate LexiconKit
NLexiconKit _LexiconKit = new NLexiconKit();
// Set license properties
_LexiconKit.SetLicense("LicenseRegistrationNumber", "LicenseSerialNumber");
// Create synthesizer
NAcaTTSSynthesizer _Synthesizer = _LexiconKit.CreateAcaTTSSynthesizer();

// Speak phonemes
_Synthesizer.SpeakPhonemes("h e l @U1");

Generate text to speech with SpeechKit for playback or persistence to a file.


// Instantiate SpeechKit
NSpeechKit _SpeechKit = new NSpeechKit();
// Set license properties
_SpeechKit.SetLicense("LicenseRegistrationNumber", "LicenseSerialNumber");
// Create synthesizer
NAcaTTSSynthesizer _Synthesizer = _SpeechKit.CreateAcaTTSSynthesizer();

// Synthesize speech for playback
_Synthesizer.Speak("Hello world.", (int)ACATTSSPEAKFLAGS.ACATTS_ASYNC);

// Synthesize speech to file
_Synthesizer.Speak("Hello world.", (int)ACATTSSPEAKFLAGS.ACATTS_ASYNC, "myaudio.wav", (int)ACATTSWAVFORMATFLAGS.ACATTS_FORMAT_PCM);

Generate AcaTTS Tags with VoiceMarkupKit to tailor speech synthesis.


NVoiceMarkupKit _VoiceMarkupKit = new NVoiceMarkupKit();
_VoiceMarkupKit.SetLicense("LicenseRegistrationNumber", "LicenseSerialNumber");
NAcaTTSVoiceMarkup _AcaTTSVoiceMarkup = _VoiceMarkupKit.CreateAcaTTSVoiceMarkup();

string markup = _AcaTTSVoiceMarkup.GenerateMarkup("Rate", "150", "This text is spoken above the baseline at rate");

Develop and test applications that do more with Acapela Speech Technology

Developers use Chant Developer Workbench with LexiconKit to manage pronunciations, SpeechKit to test and analyze speech synthesis, and with VoiceMarkupKit to create, edit, and test Speech Synthesis Markup Language (SSML).

Use SpeechKit to test and analyze speech synthesis with Acapela voices.

Synthesizer Management
Synthesizer Management: Enumerate and test synthesizers with live playback or persisting synthesized speech to files.
Synthesizer Management
Synthesizer Management: Trace synthesis events in the Events window.

Use VoiceMarkupKit to create and edit Tags with Acapela voices.

SSML Editing
SSML Editing: Edit Acapela Tags, L&H Native Control Sequence, SAPI 5, and W3C Speech Synthesis Markup Language (SSML) faster with built-in intelliprompt that suggest valid markup syntax.