Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Audio spectrum FFT

Status
Not open for further replies.

Mosaic

Well-Known Member
Hi all:
I am familiarizing my self with profiling an audio spectrum to help identify audio feedback issues discussed in another thread.
Here is a pic of a 4Khz sig. from a function gen with the MATH (purple) dBV FFT waveform @ 2.5Khz per grid. I note the largest peak is the 4Khz sig, but there are a lot of other 'harmonics' going on down the line.

Can anyone explain how it is an AC coupled, function gen signal (50 Ohm terminated) into the Rigol CH2 input is showing up all these harmonics? Thx.
4khz fft.png
 
Here is the harmonics of a 1khz square wave.
350px-Spectrum_square_oscillation.jpg

Here is a video:

Interesting picture below:
350px-SquareWave.gif
 
Your 4kHz signal, if a perfect square-wave, would contain all the odd-number harmonics. However, it is a rectangular wave with imperfections so will contain those harmonics plus additional frequencies.
 
Ok, so to create the 4Khz square wave there are some odd harmonics that are deliberately added to create it and that is what the FFT is showing. The even harmonics are as a result of non ideal deficiencies in the circuit.

But this would be different from ,say, and instrument that created the audio frequency ?

Here is a 1Khz sine wave that doesn't have harmonics and it looks good.
1khz.png
 
Last edited:
I don't understand your question.

Mathematically, a square wave is made up of an infinite number of a sum of odd harmonics. As each odd harmonic is added, the waveform becomes more square.

The amplitude of the nth odd harmonic could be different than what the nth odd harmonic is supposed to be in the real world. Even harmonics don't belong.

Your waveform is far from square, The tops aren't flat and severe crossover distortion is present.
 
The pure sine wave trace answered the question. It doesn't have harmonics. A sound from a musical instrument should have some but not as much as shown by the square wave.
 
The musical instrument in this thread is a Caribbean steel pan drum. Its sound-producing parts resonate so it produces a sound similar to a sinewave when it is hit.
The shape of the sinewave and its tone are probably different if a sound-producing part is hit in the center or to one side.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top