Setting Delays - Distance vs Peak Picking (Feb 2025)

There are lots of ways to do this, and if they work, then they work. Once you have a process that works, then the next step, depending on whether this is a hobby or what you do for a living, might be to optimize it. Optimizing it for speed is one such optimization. Optimizing for precision might be another way. Optimizing it so it can be taught to others who are starting out might be a third.

What I see often are graphs measured at 1/48 octave or 1/24 octave with separate target curves for each driver in the system. From a purely technical standpoint, there’s nothing wrong with this process. It is essentially the process for optimizing a home audio speaker, measured in an anechoic chamber on a design axis. There’s a big difference between measuring in an anechoic chamber and measuring in a car, however. All of those narrow peaks and dips are that difference. I’ll get into that a little later—maybe we’ll try this as a series of tech tip posts.

Today, the topic is going to be setting delays.

First, delays correct for differences in arrival times from speakers. People sometimes think of them as some magical image fine tuning control. While delays do contribute to moving the image around in a 2-channel system designed to be heard in one seat, other things contribute to your center image.

Because the speed of sound is a constant, delays correct perfectly for distance. If we have two speakers—one on the right and one on the left—and we sit directly in between them in an arrangement that forms an equilateral triangle, both speakers will be the same distance from us and the sound from each will arrive at the same time.

When a sound is recorded exactly the same in the right and the left channels, we will hear that sound as though it came from a speaker in between the right and the left. Since we’re sitting in the middle, that sound will be directly in front of us.

In a car, we don’t sit directly in between. So, we use delays to hold the signal sent to the speaker that’s nearest to us and to release it at precisely the right moment so the sound from both speakers will arrive at the same time. This puts the center in the center even though we are sitting off center.

Below, we delay the signal to the left speaker…

So delays are how we correct for distance so we hear a center image.

There’s another part of our system that relies on the arrival time of the sound— crossovers. Implementation of standard crossovers in our DSP assumes that the sound from each of the speakers, tweeter and midrange, and midbass and sub, should arrive at the same time. So, we also kind of need to make sure the sound from each of those speakers arrives at the same time, too.

Sometimes, when we are starting out learning a process for doing something, we fall into a trap—I’m going to call this the “trap of imaginary precision”. This is rampant in audio and I think it’s driven by a fear that we are going to miss something. If we don’t do it just right, then fidelity will suffer.

It’s really easy to fall into this trap as a beginner because the online experts are all posting these really complicated graphs and insisting that in order for it to be good, you have to be hand-building the car audio equivalent of this:

p02-01.png — from page 2

p03-01.png — from page 3

p04-01.png — from page 4

That watch movement is called “the grand complication”. It exists BECAUSE it is complicated. This is a flex for watchmakers. It is not necessary for time-keeping. It undoubtedly tells time more poorly than a battery operated watch that links to the atomic clock.

Anyway, this trap of imaginary precision suggests that we need to choose the most complicated way to measure that we can imagine.

I love Swiss watches, BTW.

Once upon a time, many years ago (In 1992), I installed my first DSP. It was a Sony ES system. It included delays. The instruction manual said to measure to each of the speakers, subtract the shortest distances from the longest distance and input the resulting delays to be added to each speaker so the sound from each of them would arrive at the same time.

Boom. Holy shit. Now the image in the driver’s seat was great and it only took about 5 minutes.

And then, I got a new job and a computer with a very expensive piece of test equipment inside that could measure impulse responses. And if I can measure impulse responses, then I can measure flight time directly and input those numbers. No more using that bullshit 6000 piece of equipment and a $4000 microphone.

So off I went, measuring impulse responses and subtracting those measurements just as I did with the tape measure.

And one day someone much smarter than me pointed out something—that the peak is not the arrival time. The top of the blue hump, which is the impulse of the subwoofer is not the arrival time.

It’s when the signal rises above zero—to the left. I think this was in 1996 or 1997.

Yes, we had tools for this back then. But they weren’t free.

p05-01.png — from page 5

If you have a home audio receiver, it probably sets delays for you with a mic that you place in the listening position. It picks the peak. But it’s also trying to locate a bunch of speaker cabinets that all have tweeters. This process works fine. When there’s no high frequency in the signal we have a hump, like the blue graph above. As we remove high frequency from the signal, the peak gradually turns into the hump.

So, if we’re going to use impulses for this, then we have to learn to identify when the signal rises above zero.

The pro audio guys do it this way so it must be the right way. SMAART says I should do it this way so it must be right.

Before we move on, think about convenience. Why might a guy setting up an audio system at Giants stadium use a mic for measuring distance? Might be because he already has one set up and a 300 foot tape measure doesn’t fit in his pocket—just maybe.

OK, about these impulse response measurements.

For this, I used two speakers. One was a GB25 in a little pod. The other was a GS8ND2 in a little box. Both were placed EXACTLY 58” from the tip of an Earthworks MW23 mic (that’s a nice mic).

Here are those two frequency response measurements. I’ve displayed them at 1/48 octave for the high precision crowd. Notice that the GS8ND2 includes less high frequency content than the GB25.

p06-01.png — from page 6

Let’s look at the impulse response measurements. Remember, these are both EXACTLY 58” from the tip of the mic.

I have placed the cursor at exactly 58”. That’s what the blue arrow points to.

Is that what you would have picked for the initial rise? Probably not. It isn’t what the delay estimator would have picked either.

Depending on how it works, it might have chosen any of these three points:

None of those are 58” from the tip of the mic. If we were trying to locate 7 identical speakers with tweeters, this wouldn’t matter because the error would be the same for each of them.

But when we are trying to locate speakers with varying amounts of high frequency content this becomes much more complicated and MUCH LESS PRECISE.

Just to prove this point, I did a couple of additional things. I added low pass crossovers (coils) to the 8” and made additional measurements as I removed high frequency content.

The speaker position never changed.

I added a 2.2mH coil—which is a 6dB/octave low pass filter. Now look at the impulse (brown).

p07-01.png — from page 7

p08-01.png — from page 8

p08-02.png — from page 8

And then I added another one (purple).

But I never moved the speaker. And none of these look like 58”.

And this is what I mean by imaginary precision.

Can you get close enough using the mic and measuring impulses? Sure.

But you can measure the distance accurately with a tape measure. And that’s a lot faster.

The real reason to make impulse response measurements when building a system or tuning a car is not to accurately determine the arrival time of the sound—that’s actually quite difficult. It’s so you can see a phase graph, which is a much more useful tool for fine tuning the crossover, and especially at low frequencies.

We’ll talk about that later.

It’s OK to use the tape measure for a couple of reasons:

  1. You already know how to use a tape measure.
  2. It’s fast.
  3. It isn’t confusing. 4—and this is the big one—because it’s just as accurate as doing all of this extra work.

Unless, of course, you’d need a 300 foot tape measure. Then, the mic might be an easier way to get close.

BTW, here is a patent on a process that includes a way to estimate this picking of the arrival time. I’m a co-inventor here along with three dudes who are smarter than I am. https://patents.justia.com/patent/9241230

p09-01.png — from page 9