Copyright © 2011-2023 MultiMedia Soft

TracksBoard.ItemSpeechVoiceGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the voice used to render the speech text of the given item. The voice of the item can be modified through the TracksBoard.ItemSpeechVoiceSet method.

 

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard class section.

 

 

Syntax

 

[Visual Basic]

Public Function ItemSpeechVoiceGet (

nUniqueId as Int32,

ByRef nVoice as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSpeechVoiceGet (

Int32 nUniqueId,

ref Int32 nVoice

);


 

[C++]

public: enumErrorCodes ItemSpeechVoiceGet (

Int32 nUniqueId,

Int32 __gc *nVoice

);


 

Parameter

Description

 

 

nUniqueId

Unique identification number assigned to the sound item after being generated by one of the following methods:

TracksBoard.ItemClone when an existing speech item has been cloned

nVoice

Reference that, on return from the method call, will contain the zero-based index of the speaking voice. The total number of voices installed inside the system can be obtained through the SpeechVoicesNumGet method and related attributes can be obtained through the SpeechVoiceAttributeGet method.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.