Copyright © 2001-2023 MultiMedia Soft

TracksBoard.SpeakersNumSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the number of speakers assigned to the Tracksboard's session. The current number of speakers can be obtained through the TracksBoard.SpeakersNumGet method.

 

Available speakers can be assigned to a specific sound item through the TracksBoard.ItemSpeakerSet 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 object section.

 

 

Syntax

 

[Visual Basic]

control.TracksBoard.SpeakersNumSet (

nSpeakers as Integer

) as enumErrorCodes


 

[C++]

short control.TracksBoard.SpeakersNumSet (

short nSpeakers

);


 

Parameter

Description

 

 

nSpeakers

The new number of assigned speakers, can be a value between 2 and 8; values outside this range will be automatically cut to the nearest accepted value.

By default a session is created with 2 speakers (Front stereo).

 

 

 

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