This project has moved. For the latest updates, please go here.

Real Time Spectrum

Feb 13, 2016 at 1:19 PM
I am creating a DMX control system for stage lighting, and I plan to use NAudio to allow for sound activation of patterns and pre-programmed shows. Ideally, the user would be able to see the levels of different frequencies in the spectrum and select functions when the frequency gets to a certain level. I have looked around and tried to find a tutorial on getting an audio spectrum, and all I could find was how to display the waveform of a file. Any help that you could provide would be greatly appreciated.

Thanks,
RobbieC97
Coordinator
Feb 23, 2016 at 11:50 AM
there is a basic spectrum analyzer demo in the NAudio WPF demo which should get you pointed in the right direction. It takes the FFT of every block of 1024 samples to do this.