TAPIEx ActiveX Control v3.6

GetFreqDBArray

The GetFreqDBArray method obtain the amplitude of a set of frequencies(FFT result set).

Function GetFreqDBArray([out] FreqArray as variant) 
As Long

Parameters

FreqArray [out]
a array of float.

Return Values

If GetFreqDBArray succeed, it return the number of elements in the FreqArray, Otherwise return 0.

Remarks

FreqArray[index] will return the amplitude of frequency=index*SamplingRate/2*(numbers_element_FreqArray-1)
If you want obtain the amplitude of the single frequency, you may use GetfrequencyDB instead.

See Also

GetfrequencyDB