Copyright © 2001-2023 MultiMedia Soft

TracksBoard.ItemSplit method

Previous pageReturn to chapter overviewNext page

Remarks

 

Splits the given sound item, on the requested position, creating two contiguous sound items.

 

When an item is split, eventual volume points falling outside the split position will be automatically removed: the new item created by the split will not keep any of the removed volume points.

 

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 object section.

 

 

Syntax

 

[Visual Basic]

control.TracksBoard.ItemSplit (

nUniqueId as Long,

nPositionMs as Long

) as enumErrorCodes


 

[C++]

short control.TracksBoard.ItemSplit (

long nUniqueId,

long nPositionMs

);


 

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 item has been cloned

nPositionMs

Position of the split, expressed in milliseconds

 

 

 

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