BuildSentence

Top  Previous  Next

Namespace Hierarchy

C++

PXCSpeechSynthesis::BuildSentence

C#

PXCMSpeechSynthesis.BuildSentence

Java

PXCMSpeechSynthesis.BuildSentence

Syntax

C++

pxcStatus  BuildSentence(pxcUID sid, pxcCHAR *sentence);

 

C#

pxcmStatus BuildSentence(Int32 sid, String sentence);

 

Java

pxcmStatus BuildSentence(int sid, string sentence);

 

Parameters

 

sid

The sentence identifier. This can be any unique non-zero number.

 

sentence

The sentence string to be synthesized.

Description


The BuildSentence function synthesizes the specified sentence in the internal buffer. The application can retrieve the synthesized speech data by the sentence identifier.

Return Status

 

PXC[M]_STATUS_NO_ERROR

The function returned successfully.