Spectrum.SetNumberOfBands method |
|
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 class section.
For details about using Visual Feedbacks refer to the How to use embedded Visual Feedbacks section.
Syntax
[Visual Basic] Public Function SetNumberOfBands ( nBands as Int16 ) as enumErrorCodes |
[C#] public enumErrorCodes SetNumberOfBands ( Int16 nBands ); |
[C++] public: enumErrorCodes SetNumberOfBands ( Int16 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 (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |