Copyright © 2008-2023 MultiMedia Soft

TracksBoard.ItemSpeechStringSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the string of text to speech of the given item. The current pathname of the text file or the string of text to speech can be obtained through the TracksBoard.ItemSpeechTextGet method.

 

 

Important note about items overlapping

 

Overlapping of two items on the same track is now allowed so, in case the new speech string should cause an overlapping and upon space availability, the new item will be automatically moved to the next track or to the previous track; if both previous and next tracks should in any case suffer an overlapping, a new track will be automatically inserted on the nearest position.

 

 

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 ItemSpeechStringSet (

ByRef nUniqueId as Int32,

strTextToSpeech as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSpeechStringSet (

Int32 nUniqueId,

string strTextToSpeech

);


 

[C++]

public: enumErrorCodes ItemSpeechStringSet (

Int32 nUniqueId,

string strTextToSpeech

);


 

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

strTextToSpeech

String of text to speech

 

 

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.