Returns the average power at a given frequency
Namespace: NDXVUMeterNETAssembly: DXVUMeterNETGDI (in DXVUMeterNETGDI.dll) Version: 3.0.4021.33606 (3.1.0.0)
Syntax
C# |
---|
public double FFTAverageFromIndex( int fftidx, DXVUMeterNETGDI..::..FFTChannelConstants channel ) |
Visual Basic |
---|
Public Function FFTAverageFromIndex ( _ fftidx As Integer, _ channel As DXVUMeterNETGDI..::..FFTChannelConstants _ ) As Double |
Visual C++ |
---|
public: double FFTAverageFromIndex( int fftidx, DXVUMeterNETGDI..::..FFTChannelConstants channel ) |
Parameters
- fftidx
- Type: System..::..Int32
The index in the transform for which we want to obtain the power for
- channel
- Type: NDXVUMeterNET..::..DXVUMeterNETGDI..::..FFTChannelConstants
The channel (left/right)
Return Value
The average power level at the given FFT indexRemarks
The average is calculated by averaging the values in the FFT history. The size of the history can be adjusted through the FFTHistorySize property.