TSpectrogram.LogAmplt Method

function LogAmplt(Base: Double; Span: Double; aMax: Double; aScale: Double; Normalized: Boolean): Double;

Compute the logarithm of the amplitude spectrum and convert to dB.

#NameTypeDescription
1BaseDoublescalar
2SpanDoublescalar
3aMaxDoublescalar
4aScaleDoublescalar
5NormalizedBoolean

Returns: Double

Remarks:

Base defines the base of the logarithm (usually 10). Span defines the span in dB of the result, and AMax is the maximum amplitude found in the spectrum. If Normalized is True, the highest value of the spectrum will positioned at 0.