Anan Yaghmour’s Post

View profile for Anan Yaghmour, graphic

MSc Control,Systems,and Signal processing

I found a library in Python to directly stream speaker sound to analyze it and display it like music visualizer. So I wondered how I could achieve the same thing in MATLAB as well? With a little bet of research I found a fantastic free tool called VB-audio, which enables you to direct data from PC's output devices like speakers, to PC's input devices like microphones ,and with System Object provided by MATLAB, I was able to achieve the goal with almost 100% real-time streaming ,and with less than 13 lines of code!. NOTE**: in computing FFT I didn't divide by the number of points , just to let the values fit the graph scale which I chose for demonstration purposes. Nice Watching 😎👇

To view or add a comment, sign in

Explore topics