Copyright © 2008-2018 MultiMedia Soft

SpeechVoicesNumGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the number of Speech API voices installed inside the system. Attributes of each voice installed inside the system can be obtained through the SoundGenerator.SpeechVoiceAttributeGet method.

 

For further details about sound generation see the SoundGenerator object and the How to generate wave tones, noises, DTMF tones and text to speech tutorial.

For further details about sound composing see the SoundComposer object and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

control.SpeechVoicesNumGet (

nVoices as Long

) as enumErrorCodes


 

[C++]

short control.SpeechVoicesNumGet (

long *nVoices

);


 

Parameter

Description

 

 

nVoices

Reference that, on return from the method call, will contain the number of voices installed inside the system.

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful