How Tos

Last reviewed: 7/8/2022

Article ID: H072209

HOW: Developing applications that do more with Acapela Speech Technology

The information in this article applies to:

  • LexiconKit 8
  • SpeechKit 11
  • VoiceMarkupKit 8

Summary

Explore ways to do more with Acapela Speech Technology.

More Information

Chant Developer Workbench 2022 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 credentials
_LexiconKit.SetCredentials("Credentials");
// 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 credentials
_SpeechKit.SetCredentials("Credentials");
// 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.SetCredentials("Credentials");
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, SAPI 5, and W3C Speech Synthesis Markup Language (SSML) faster with built-in intelliprompt that suggest valid markup syntax.