SPECTR_ENH_GENERAL_SETTINGS structure |
|
The SPECTR_ENH_GENERAL_SETTINGS data structure describes the general graphical settings applied to a specific enhanced spectrum analyzer. The current settings can be obtained through the SpectrumEnh.SettingsGeneralGet method and modified through the SpectrumEnh.SettingsGeneralSet method.
For further details about using the Enhanced Spectrum Analyzer refer to the SpectrumEnh section.
For details about using the Enhanced Spectrum Analyzer refer to the How to use the Enhanced Spectrum Analyzer tutorial.
Visual C++ definition
typedef struct
{
short bAppearance3d;
long nResolution;
long nGraphType;
long nFFTWindowType;
short bFreqGridVisible;
short bDbGridVisible;
short bSubGridVisible;
short bBackBitmapVisible;
short bBackBitmapStretch;
OLE_COLOR colorBackground;
OLE_COLOR colorFreqGrid;
OLE_COLOR colorDbGrid;
OLE_COLOR colorSubGrid;
} SPECTR_ENH_GENERAL_SETTINGS;
This data structure is defined inside the AdjMmsEngDef.h header file which can be found inside the product's Include directory (default \Program Files\MultiMedia Soft\Active DJ Studio\include).
Visual Basic definition
Public Type SPECTR_ENH_GENERAL_SETTINGS
bAppearance3d as Boolean
nResolution As Long
nGraphType As enumSpectrumEnhTypes
nFFTWindowType As enumSpectrumEnhWindowTypes
bFreqGridVisible as Boolean
bDbGridVisible as Boolean
bSubGridVisible as Boolean
bBackBitmapVisible as Boolean
bBackBitmapStretch as Boolean
colorBackground As OLE_COLOR
colorFreqGrid As OLE_COLOR
colorDbGrid As OLE_COLOR
colorSubGrid As OLE_COLOR
End Type
This data structure is defined inside the AdjMmsEngDef.bas module file which can be found inside the product's Include directory (default \Program Files\MultiMedia Soft\Active DJ Studio\include).
Member |
Description |
|||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if the spectrum analyzer is displayed with 3D borders. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Resolution in bytes of audio PCM data for FFT calculation (the value must be power of 2). Default is set to 2048 bytes. |
||||||||||||||||||||||||||||||||||||||||||||||
Type of graphic representation. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Type of window for FFT calculation. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if the frequency grid is visible. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if the decibels grid is visible. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if sub-grids are visible. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if an eventual background image (bitmap) is visible. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Boolean value that specifies if an eventual background image (bitmap) should be stretched to fit the spectrum analyzer background area. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
The color used for rendering the background of the spectrum analyzer. |
||||||||||||||||||||||||||||||||||||||||||||||
The color used for rendering the frequency grid |
||||||||||||||||||||||||||||||||||||||||||||||
The color used for rendering the decibels grid |
||||||||||||||||||||||||||||||||||||||||||||||
The color used for rendering sub-grids |
Below you can see a zoomed image of the enhanced spectrum analyzer evidencing some of the configurable elements: