Realtime sound spectrogram using FFT or linear prediction. Spectrogram is displayed on the display of PC. リアルタイム・スペクトログラム.解析の手法:FFT,線形予測法.スペクトログラムは PC のディスプレー装置に表示される.PC 側のプログラム:F446_Spectrogram.
Dependencies: Array_Matrix mbed SerialTxRxIntr F446_AD_DA UIT_FFT_Real
MySpectrogram/FFT_Analyzer.hpp
- Committer:
- MikamiUitOpen
- Date:
- 2017-02-17
- Revision:
- 0:a539141b9dec
- Child:
- 6:c38ec7939609
File content as of revision 0:a539141b9dec:
//------------------------------------------------------- // Class for spectrum analysis using FFT (Header) // // 2017/02/04, Copyright (c) 2017 MIKAMI, Naoki //------------------------------------------------------- #ifndef FFT_ANALYZER_HPP #define FFT_ANALYZER_HPP #include "AnalyzerBase.hpp" namespace Mikami { class FftAnalyzer : public AnalyzerBase { public: FftAnalyzer(int nData, int nFft); virtual ~FftAnalyzer() {} private: Array<Complex> yFft_; // output of FFT virtual void Analyze(const float xn[], float yn[]); // disallow copy constructor and assignment operator FftAnalyzer(const FftAnalyzer& ); FftAnalyzer& operator=(const FftAnalyzer& ); }; } #endif // FFT_ANALYZER_HPP