This project demonstrates the use of the Fast Fourier Transform and Windows GDI to produce near real-time visualizations of the time and frequency domains of sound.
While looking for information on signal processing for a robotics project, it became apparent that examples written in C# were hard to find. This led me to create some of my own classes, which I have provided here for this demonstration.
Using the Code
Audio input for this demonstration is provided by the
Wave classes developed by Ianier Munoz.
Wave samples are further processed using the
private Bitmap _canvasTimeDomain;
private Bitmap _canvasFrequencyDomain;
private double _waveLeft;
private double _waveRight;
private double _fftLeft;
private double _fftRight;
private SignalGenerator _signalGenerator;
private bool _isTest = false;
public AudioFrame(bool isTest)
_isTest = isTest;