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:
- 2018-11-04
- Revision:
- 6:c38ec7939609
- Parent:
- 0:a539141b9dec
File content as of revision 6:c38ec7939609:
//------------------------------------------------------- // Class for spectrum analysis using FFT (Header) // // 2018/11/04, Copyright (c) 2018 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