Real-time Spectrum Analysis
26 views (last 30 days)
Show older comments
Parth Tarabadkar
on 17 Oct 2018
Commented: Honglei Chen
on 15 Nov 2018
I want to develop a Real-time Audio Spectrum Analyzer, input to which, needs to be given through a microphone. I know that Spectral Analysis can be done in MATLAB, but can this be done for live (real-time) input? How?
0 Comments
Accepted Answer
Honglei Chen
on 17 Oct 2018
You can use Spectrum Analyzer to do this.
https://www.mathworks.com/help/dsp/ref/dsp.spectrumanalyzer-system-object.html
Look at the examples in the above page. The signal are fed into the analyzer in batch mode. You can just replace those signals with the one you get from the microphone.
HTH
6 Comments
Honglei Chen
on 15 Nov 2018
In that case, I'd suggest you to use pspectrum instead of spectrum analyzer to retrive the number.
HTH
More Answers (0)
See Also
Categories
Find more on Spectral Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!