Developing applications that do more with Cepstral Speech Technology

Last reviewed: 7/8/2022

HOW Article ID: H072210

The information in this article applies to:

  • LexiconKit 8
  • SpeechKit 11
  • VoiceMarkupKit 8

Summary

Explore ways to do more with Cepstral Speech Technology.

More Information

Chant Developer Workbench 2022 includes LexiconKit to generate 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 Cepstral lexicons, speech synthesis, and Speech Synthesis Markup Language (SSML).

Develop applications that do more with Cepstral Speech Technology

Generate pronunciation phonemes with LexiconKit to use with SSML for Cepstral voices.


// Instantiate LexiconKit
NLexiconKit _LexiconKit = new NLexiconKit();
// Set credentials
_LexiconKit.SetCredentials("Credentials");
// Create synthesizer
NSwiftSynthesizer _Synthesizer = _LexiconKit.CreateSwiftSynthesizer();

// Generate phonemes
string _Phonemes = _Synthesizer.GeneratePhonemes("tomato", "Noun");

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
NSwiftSynthesizer _Synthesizer = _SpeechKit.CreateSwiftSynthesizer();

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

// Synthesize speech to file
_Synthesizer.Speak("Hello world.", (int)SWIFTSPEAKFLAGS.SWIFT_ASYNC, "myaudio.wav", (int)SPSTREAMFORMAT.SPSF_Default);

Generate Speech Synthesis Markup Language (SSML) with VoiceMarkupKit to tailor speech synthesis.


NVoiceMarkupKit _VoiceMarkupKit = new NVoiceMarkupKit();
_VoiceMarkupKit.SetCredentials("Credentials");
NW3CSSMLVoiceMarkup _W3CSSMLVoiceMarkup = _VoiceMarkupKit.CreateW3CSSMLVoiceMarkup();

string markup = _W3CSSMLVoiceMarkup.GenerateMarkup("Rate", "5", "This text is spoken above the baseline at rate of five");

Develop and test applications that do more with Cepstral Speech Technology

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

Use LexiconKit to create and edit a lexicon of word pronunciations for Cepstral voices.

Cepstral Pronunciation Editing
Cepstral Pronunciation Editing: Create and edit Cepstral default pronunciations faster by using the auto generation feature. Simply type the word, space, and 0 to generate the default pronunciation for editing.

Use SpeechKit to test and analyze speech synthesis with Cepstral 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 SSML with Cepstral voices.

SSML Editing
SSML Editing: Edit SAPI 5 and W3C Speech Synthesis Markup Language (SSML) faster with built-in intelliprompt that suggest valid markup syntax.