Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.84 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.84 KB

FFT-spectrum-analyzer

This project file is FFT spectrum analyzer on WPF application using NAudio, OxyPlot, Math Net.

このプロジェクトは、FFTスペクトルアナライザーを Windows WPFアプリケーションで制作したものです。ライブラリには、音声信号処理にNAudio、グラフ描画にOxyPlot、数学系の計算にMath Net を使用しています。

Description

All FFT processes in this C# program are written without other librarys. the sampling rate is 40kHz, the window function is hamming function. this repository code contains FFT and DFT methods. please feel free to use them!

C#でのFFTの処理には、ライブラリを使わず、自作で書き上げました。サンプリング周波数は40kHz、窓関数にはハミング窓を使用しています。 コードの中には、FFTとDFTのメソッドも入っています。

WaveIn_DataAvailableメソッド:NAudioでの音声信号の入力を処理

ProcessSampleメソッド:窓間の処理やFFT,DFTの関連の処理を行う

Requirement

  • USBマイク(マイク入力がないと実行できません)
  • .NETフレームワーク4.5 以上

Usage

FFT-spectrum-analyzer/WpfApplication1/bin/Release/WpfApplication1.exe を実行すると、上の図のようなアプリケーションが立ち上がります。

Licence

MIT

Author

ShuDiamonds