Author Topic: Real-time FFT of the audio signal from a microphone?  (Read 3264 times)

0 Members and 1 Guest are viewing this topic.

Offline cvancTopic starter

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: us
Real-time FFT of the audio signal from a microphone?
« on: January 24, 2019, 06:39:00 pm »
Hi all-

Let's say I want to see a FFT of the signal being picked up by a microphone.  And let's say I want to do this in real-time or nearly real-time.  I want to see changes as I move the microphone around.

How would you do this?  Especially, how would you best do this given constraints on cost and size?

I know you could always use some vintage piece like a spectrum analyzer, fed with the amplified signal from the microphone.  But is there a more modern, smaller, less expensive way to do this?

Thanks.
 

Offline hendorog

  • Super Contributor
  • ***
  • Posts: 1617
  • Country: nz
Re: Real-time FFT of the audio signal from a microphone?
« Reply #1 on: January 24, 2019, 06:44:28 pm »
There are plenty of apps on the Google App store which real time FFT on the mic (I guess they would also work on an external mic). No idea about IOS.

 

Offline wn1fju

  • Frequent Contributor
  • **
  • Posts: 563
  • Country: us
Re: Real-time FFT of the audio signal from a microphone?
« Reply #2 on: January 24, 2019, 06:45:48 pm »
Do you have a laptop?  Plug the microphone into the microphone jack.  Then...

There must be a few dozen FFT Audio Analyzer programs, many of which are free, for download.  Google it.

I've used Spectran (www.weaksignals.com) in the past and it is great.  Don't know how current the author has kept it although.
 

Offline DavidDLC

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: us
Re: Real-time FFT of the audio signal from a microphone?
« Reply #3 on: January 24, 2019, 06:56:31 pm »
cvanc

If you want to do this with electronics, I have PCB for a SMD LED matrix that is designed for this purposes.

I made the PCB to replace a damaged LED matrix on a old equalizer.

Let me know

David DLC
 

Offline awallin

  • Frequent Contributor
  • **
  • Posts: 694
Re: Real-time FFT of the audio signal from a microphone?
« Reply #4 on: January 24, 2019, 07:04:58 pm »
gnu-radio probably has the bits and pieces to build scope/FFT/waterfall etc. displays quite easily from an audio source:
something along those lines: https://wiki.gnuradio.org/index.php/Guided_Tutorial_GRC
 

Offline alsetalokin4017

  • Super Contributor
  • ***
  • Posts: 2055
  • Country: us
Re: Real-time FFT of the audio signal from a microphone?
« Reply #5 on: January 24, 2019, 07:32:04 pm »
You could do it in software or in single-chip solutions.
Google or search YouTube for "arduino color organ" for many examples of software implementations of FFT with mic input and color LED outputs. Looking at the associated sketch and schematic files will show you how FFT is implemented in c++ on a microprocessor, and how to turn condenser mic output into something that makes sense to the processor.
Or look for graphic equalizer display chips like MSGEQ7 for single-chip solutions.
With software you can select frequency bands and make up your own display modes like with addressable RGB LEDs, get really fancy if you like.
The single-chip solutions are more limited -- you get seven fixed frequency bands with the MSGEQ7 I think but it's cheap.
The easiest person to fool is yourself. -- Richard Feynman
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2329
  • Country: 00
 

Offline MikeP

  • Regular Contributor
  • *
  • Posts: 160
  • Country: ua
Re: Real-time FFT of the audio signal from a microphone?
« Reply #7 on: January 25, 2019, 07:02:33 am »
 I have been using REW for many years. Microphone with ADC from MiniDSP - Umic.
 

Online The Soulman

  • Frequent Contributor
  • **
  • Posts: 961
  • Country: nl
  • The sky is the limit!
Re: Real-time FFT of the audio signal from a microphone?
« Reply #8 on: January 25, 2019, 08:33:15 am »
There a many programs to choose from, I often use visual analyzer, not the most stable but about every setting can be tweaked.
 
http://www.sillanumsoft.org/

It will work with any audio input device that works with windows.
 

Offline trobbins

  • Frequent Contributor
  • **
  • Posts: 784
  • Country: au
Re: Real-time FFT of the audio signal from a microphone?
« Reply #9 on: January 25, 2019, 08:44:32 am »
I use the Spectrum Analyser app on my phone - can help you tell the difference between mains frequency hum, and twice that frequency  :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf