Measuring impulse response

OK…recently someone indicated that the impulse response of the speaker is a graphic representation of whether the speaker goes “BAM” and then returns to rest quickly. A suggestion that if we view the impulse response, we can see the transient response of the speaker directly.

Not really. That’s not really what it is. It’s pretty complicated, but the impulse response isn’t particularly useful on its own if we are trying to assess the behavior of a speaker. It shows us the frequency response and the phase response of the speaker in the time domain. If we measure the speaker in an acoustic space with a reference measurement that indicates T=0, we can see how long it takes for the sound to arrive at the mic, although even this is really difficult to interpret because of preringing and the fact that the slope of the peak depends on high frequency content. In addition, the amount of information in the measurement at low frequencies seriously reduces our ability to determine when low frequency sounds arrive.

It’s really useful for identifying reflections in a big acoustic space, though. We’ll do that one later when it’s more pertinent to another project. Not very useful in cars because they’re so small.

Anyway. Back to the notion that we can view the transient behavior of a speaker with the impulse response.

Here’s a simple example of why this isn’t really the way to do that.

Here’s a simple high pass filter. Let’s pretend that this is a subwoofer in a sealed box. This is the subwoofer in several sealed boxes from way too small to really big—we’ll identify them by their Qtc.

A Qtc of 3 makes a big peak before the roll off. This WILL HAVE TERRIBLE transient response. This is just a woofer in a box that’s way too small. We all know what that sounds like.

At the other extreme is a Qtc of 0.5. This is “critically damped” which means it provides accurate transient response.

So, from terrible to perfect. We ought to be able to see that. We ought to be able to see which one goes “BAM!” and then comes to rest quickly. I’ve also included a reference response that’s flat from 20Hz to 20kHz.

Here are the frequency response graphs:

So, once again, from terrible transient response (light green at the top) to great transient response at the bottom.

Now, if the impulse response is going to show us the transient performance of these speakers, it ought to be really easy to see the difference between great and terrible.

Here are the impulse responses.

p02-01.png — from page 2

p02-02.png — from page 2

Wait…what?

Which one is terrible and which one is great? They all look exactly like the reference (the red one) or damn close.

So WTF?

So, before we go off on some tangent and claim that this is just a mockup and not the “real world”, let’s look a little closer at the impulse response and what it shows us. Remember—frequency and phase in the time domain.

OK, if 20 Hz is 20 cycles per second, then a 20Hz wave takes 50mS to complete. A 20Hz wave is this long.

p03-01.png — from page 3

A 40Hz wave is this long:

An 80Hz wave is this long:

p04-01.png — from page 4

p04-02.png — from page 4

160 is this long

Beginning to get the picture?

The highest frequencies are represented in the area VERY close to the peak. Lower frequencies require more of the graph on the horizontal axis to be represented.

So each octave as frequency decreases takes twice as long…

So, let’s go back to the frequency response graph to see what happens at high frequency.

At high frequencies, they are exactly the same.

So, let’s zoom in on the impulse response so we can compare these at high frequencies. They’re the same above 1k, so let’s look at high frequencies from 20k to 1k.

p05-01.png — from page 5

p06-01.png — from page 6

p06-02.png — from page 6

Above 1k they’re the same. So do they have the same transient response?

No. remember the frequency response and how that relates to a woofer in a box that’s way too small?

Ok, so what gives?

Remember when I mentioned that at low frequencies we don’t have a lot of data points?

Let’s go back to the 20k to 20Hz (50 mS).

Look really carefully at the graph where I’ve drawn the arrow.

p07-01.png — from page 7

Let’s expand the vertical scale. Notice in the graph above, the peak has been normalized to 0dB—the peak is at 100%

Now, let’s boost the level so that the top of the graph is only 3%. remember, we don’t have much data, so we are going to zoom in on the data we have. Additionally, we have essentially the same amount of energy spread out over a longer time. The giant peak is now a smaller hump.

And there it is. This graph shows us the frequency response and phase in the time domain. We can see this pretty clearly if we also think about the frequency response graph.

See, light green is more output in the frequency response graph around our 100Hz peak and it’s also more output in the region between 50Hz and 20kHz too.

So, can we see that there is worse transient performance? Yeah, kinda. But that’s not really what this graph tells us easily. Remember, we had to zoom by 30X to see this. If we don’t dig, we might not even see this.

Is there a better graph to use to see if the speaker goes “BAM!” and then returns to rest quickly?

Well, yeah. It’s called the Step response. It’s derived from this measurement and is intended to represent what happens if the speaker was driven by an instantaneous pulse—if the speaker cone was driven outward and then allowed to come to rest.

It looks like this—it’s kinda the same, but the graph has been rearranged to remove some of the focus on high frequency response so we can immediately see what we are looking for.

Now, it’s super simple to see the difference between terrible and great. Here’s only terrible and great.

p08-01.png — from page 8

p08-02.png — from page 8

p09-01.png — from page 9

p10-01.png — from page 10

p10-02.png — from page 10

There’s still a pitfall here, though. Now I’ll add the reference graph that’s perfectly flat from 20Hz to 20kHz.

Wait. So perfect goes “BAM!” and takes LONGER to return to rest?

Well, this is why you have to think carefully about what you’re seeing here. Learn to see the frequency bands as time. The red graph has no high pass filter, so it reproduces sound that’s lower than the others. They both have high pass filters.

But yes, the perfect one goes “BAM” and takes longer to come to rest because it plays lower frequencies.

And this is why “fast bass” is no bass at all.

p11-01.png — from page 11