Realtime spectrogram for DISCO-F746NG. On-board MEMS microphone is used for input sound signal. リアルタイムスペクトログラム.入力:MEMSマイク
Dependencies: F746_GUI F746_SAI_IO UIT_FFT_Real
MyClasses_Functions/FFT_Analysis.hpp
- Committer:
- MikamiUitOpen
- Date:
- 2016-07-23
- Revision:
- 2:1f092ac020e1
- Parent:
- 0:9470a174c910
File content as of revision 2:1f092ac020e1:
//------------------------------------------------------- // Class for spectrum analysis using FFT (Header) // // 2016/07/23, Copyright (c) 2016 MIKAMI, Naoki //------------------------------------------------------- #ifndef FFT_ANALYZER_HPP #define FFT_ANALYZER_HPP #include "AnalysisBase.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