Recommendations: use np.frombuffer(data, dtype=np.int16) instead of the struct method use rfft instead of fft to make things faster use the matplotlib FuncAnimation to update the graph periodically (much cleaner) use rfftfreq(chunk, 1/sample_rate) to get the x-coords for correct frequency bins
why there were obvious peaks other than at 440 hz when you played a PURE tone? i know that a complex tone leads to peaks on the multiples of fundamental but it was a pure sine wave, shouldn't have been peaks on places other than 440.
Hello, is there any way that I can display the Frequency or get it as a number? I am trying to make a guitar tuner and I need to compare the frequencies.
how to read different data from the python and creating a separate window and use that data in an arduino and control different gagets plzz help?
Got double the FPS using matplotlib animations, made a PR to the repo in the description.
07:47 the amplitude is 255 not 256. Thank you 🙏
I wish you'd explained WHY each step is necessary instead of just telling us what to do. I completely lost track of what was going on and why those lines were added at 6:00ish-7:00
If you were to make this using a bar graph instead of a line graph, how would you get the volumes of just certain ranges of frequencies?
Thank you.
hey mark I need some help in my project real-time audio recording and fft can you please help me by providing your mail id..... I m using numpy from buffer n cannot plot the fft properly
Fantastic video, man! Thanks for sharing this code!! :)
what kind of microphone did you use and did you have problems with an onboard filter?
Hello is there any chance that I would make it into a circle? not in a graph like that...
Nice video and it worked! Any ideas on how to detect ambulance siren from the FFT?
I don't get it at all, you're generating random data in line 22 and 23. Yet when you're at the end of the video it somehow is registering microphone input. WTH, I'm lost.
Is it possible to get animated colorgram, or color spectrogram in python?
Thanks!! NIce work!!
Followed this to a tee and I'm getting "OSError: [Errno -9981] Input overflowed" - It was working at the end of the last video though.
how to get frequency value written in a text file?
@weFromRussia