Copyright © 2006-2018 MultiMedia Soft

Spectrum.SetNumberOfBands method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the number of bands used to display the spectrum: by default the spectrum will create 64 bands covering all of the needed frequencies; when number of bands is reduced, frequencies will be redistributed into available bands.

 

For further details about using the embedded Spectrum refer to the Spectrum object section.

For details about using Visual Feedbacks refer to the How to use embedded Visual Feedbacks section.

 

 

Syntax

 

[Visual Basic]

control.Spectrum.SetNumberOfBands (

nBands as Integer

) as enumErrorCodes


 

[C++]

short control.Spectrum.SetNumberOfBands (

short nBands

);


 

 

Parameter

Description

 

 

nBands

Number of bands used to display the spectrum. Its value can range from 8 to 64 (default).

 

 

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