|X(k)|dB (k=0...N/2-1) = 20log10|SUM(w(n)x(n)e-jk(2π/N)n)|, n=0...N-1.
Signal x(n) = xa(nT), n=0...N-1, T
is the sample period, xa=
analog signal. If xa
is the voltage signal of the microphone, then xa(nT) = kPa(nT),
where Pa
is the pressure and k is the constant factor.
The computation uses the decimation-in-time (DIT) computation method. Over the years, I have coded as a DSP man FFT spectrum of the Intelligent Speech Analyser™ (ISA) program (1) for the Texas 16-bit TMS320 signal processor family in machine language, (2) for Motorola's 16 and 32-bit M68000 microprocessor families in machine language and C language, (3) for IBM 600 Series 32-bit PowerPC Microprocessor Family in machine language and C language, (4) for Intel 32-bit and 64-bit microprocessor families in C++ language.