Physical · your machine is the apparatus

Ten Millionths of a Second, Between Your Ears

A sound arriving from your left reaches your left ear first. The head is small and sound is fast, so the head start is tiny, and yet you can point at the thing. How tiny a head start is still enough is a measured quantity, it was measured in 1956 and again in 1958, and the answer, for trained listeners in a quiet laboratory, is about ten microseconds: shorter than the gap between two consecutive samples of a CD. This page builds that delay inside your browser, proves it survived your own machine's audio path before it asks you anything, measures your own threshold with a staircase built to refuse rather than to flatter, and then walks the test up in frequency until your hearing gives out. Where it gives out is also published, and it is not where you would guess.

Headphones, and this is not negotiable. Over speakers each ear hears both channels, the delay you are supposed to be judging arrives mixed with its own opposite, and the measurement becomes a measurement of your room. Wired is safer than wireless: some Bluetooth codecs give the two ears independent latency, which this page has no way to see. Section 2 runs a check that catches a swapped or a dead channel, and it will not let the test start until it passes. It cannot catch speakers. A tone in one channel comes out of one speaker, you will name the right side, and the check will pass. Nothing this page can do inside a browser tab, short of asking for your microphone, tells the difference, and section 8 is where that limit is written down rather than hinted at.

1Before anything is asked of your ears

The delay this page is about is smaller than the spacing of the numbers your machine plays. At the rate most sound hardware runs, consecutive samples are a little under twenty one microseconds apart, and the delay in question is around ten. So the obvious question comes first, and it comes before you are asked to judge anything: can this machine even make a delay that small, or is the whole exercise theatre?

It can, and the reason is that a delay does not have to be built by moving samples. For a tone, a delay of t is exactly a phase shift of 2πft, and phase is a number you can put into the formula before you evaluate it. The two ears get the same gate, the same amplitude, the same everything, and their carriers are computed from clocks offset by a fraction of a sample. Nothing is resampled and nothing is rounded.

Instrument 1: what your audio path did with ten microseconds

This makes no sound. It renders the stimulus through your browser's own audio engine, reads the samples back, and recovers the delay from them with two independent estimators, one that knows the carrier frequency and one that does not. It also renders the two ways this page decided not to build the delay, so you can see what they do instead.

not yet run

Here are the same two channels drawn. Move the slider and watch the pair separate. The dots are the actual samples: at ten microseconds not one of them has moved sideways, because there is nowhere sideways to move to. What changed is every sample's value, and that is the same thing.

The two ears, drawn

A 700 Hz tone, one cycle and a bit, left in blue and right in pink. At the far left of the slider the two curves are the same curve.

2The channel check, which is allowed to stop the page

A tone will play in one channel only. Say which ear it arrived at. Three in a row, and if any is wrong the listening test does not open, because the likely explanations are that your channels are crossed, that one side is not working, that whatever you are on is mixing them, or that your two ears do not hear a 700 Hz tone equally well, and none of those can be measured through.

That last one is not a fault of yours and the page cannot tell it apart from the other three. This instrument needs two ears that hear this tone at about the same loudness, and asymmetric hearing, a single working ear, a blocked one or a passing cold all mean it has nothing to measure. If the gate closes on you, what has happened is that a test built for a particular pair of ears has met a different pair. There is no score here and no way to fail one.

Passing it does not prove you are wearing headphones, and the page does not pretend otherwise. This test asks which side a sound was on, and a pair of desk speakers answers that question correctly. What it can rule out is a crossed pair, a dead earcup and a channel collapsed to mono. The rest is on you, and the cost of getting it wrong is that your number in section 3 is a measurement of your room rather than of your hearing.

Instrument 2: channel identity

Comfortable is right. Thresholds do depend on level, which Zwislocki and Feldman measured directly in 1956, so a level you would not choose to listen at is not a level worth measuring at.

not yet run

3Your own number

Now the real task. A 700 Hz tone plays in both ears at once, with one ear a hair ahead. It will not sound like an echo. It will sound like one sound sitting slightly to one side of the middle of your head. Say which side. Get two right and the delay halves; get one wrong and it grows. That rule is called two-down one-up and it walks itself to the delay you get right about seventy per cent of the time.

Roughly one trial in six is a deliberately obvious one, far larger than any threshold. Those do not move the staircase. They exist so that the reduction can tell a listener from a coin, and if you miss too many of them this page will not print a number for you.

Instrument 3: the staircase, at 700 Hz

Locked until the channel check in section 2 passes. Left arrow and right arrow work as well as the buttons. About forty trials, two or three minutes. Guessing is fine and expected near the end; that is what a threshold is.

not yet run

every trial, as numbers

Nothing is sent anywhere by this page. If you want it in the repo, it has to travel by hand, and that is the honest state of the human half of this instrument.

4How many degrees is that?

A delay on its own is hard to feel the size of. Turn it into an angle. Woodworth's model of a rigid spherical head, tested and corrected by Aaronson and Hartmann in 2014, says the delay between the ears for a source at azimuth θ is (r/c)(θ + sin θ). Near straight ahead that is 2r/c per radian, which is the steepest the function ever is: straight ahead is where a given turn buys the most delay, which is why straight ahead is where you are most precise.

Instrument 4: your head, in microseconds

A tape measure round the widest part. The model wants the radius of a sphere with that circumference, which is a real simplification, and the apparatus says what it costs.

That formula is the high-frequency limit, and 700 Hz is not high. Aaronson and Hartmann's abstract says so of the model in their own title: it is a frequency-independent, ray-tracing model of a rigid spherical head that is expected to agree with the high-frequency limit of an exact diffraction model, and their paper exists to quantify the discrepancy when the frequency is not high. Down where this page measures, the wave bends around the head rather than cutting across it and the same head makes about half again as much delay for the same angle, so the degrees printed above are an over-estimate by something in that neighbourhood. Which way the error runs is worth knowing; its exact size is in a paper behind a 403, and the apparatus says so rather than guessing.

Mills reached the same place from the opposite direction in 1958, by putting people in an anechoic chamber and moving a real loudspeaker until they noticed:

5Where it stops working

In 1907 Rayleigh set out why a head has two cues rather than one. At low frequencies the wavelength is long compared with the head, so the head casts no shadow worth having and the only difference between the ears is timing. At high frequencies the head shadows, so there is a level difference to use, and the timing cue develops a problem: once half a wavelength is shorter than the path difference, a phase lead and a phase lag stop being distinguishable. So a phase-based time cue has an arithmetic ceiling, and it is worth working out where that ceiling is before reading anybody's measurement of where the cue actually failed.

Work it out, and the head gives the wrong answer by a factor of two. This is the part the obvious story gets wrong. Section 4's model, at the default 57 cm head and 20 degrees, says the largest delay a head that size can make is . Half a period is that long at , and that is Rayleigh's ambiguity frequency for this head. The low-frequency form of the same physics, where the wave bends round the head instead of cutting across it, puts it , which is lower still. Both sit below of the 1400 Hz the measurements below are about. To put the ambiguity at 1400 Hz you would need a head about half the width of yours. Head size does not set this ceiling. What it does line up with is the other end of the story: Zwislocki and Feldman put the frequency of best time sensitivity near 800 cps and Brughera and colleagues put it between 700 and 1000, which is where the head arithmetic lands. The head predicts where this works best. It does not predict where it stops, and a page that told you it did would be telling you something none of its sources say.

Three published measurements put a number on where it does fail, spread over fifty five years, and they do not all agree. Mills, from a loudspeaker in an anechoic chamber, put the crossover below about 1400 cps. Brughera, Dunai and Hartmann, from headphones and four listeners, put it here:

And Zwislocki and Feldman, from headphones in the same volume of the same journal as Klumpp and Eady, put it a hundred cycles lower, and in the same breath say where the cue is at its best:

Two of those three are not independent of each other. Mills did not read a crossover off his own free-field data alone. His abstract says the frequency comes from a comparison of these thresholds with those reported for dichotic stimulation, which is to say from comparing his loudspeaker thresholds against headphone measurements of the era, and Zwislocki and Feldman's is one of the headphone measurements of the era. So the agreement between two studies fifty five years apart is worth something, and it is worth less than two independent methods would be. The honest summary is that the limit is somewhere between about 1300 and 1400 cycles, that three groups using two kinds of apparatus over fifty five years all landed in that hundred-cycle band, and that this page draws its dashed line at Brughera's 1400 because that is the modern redo of exactly the headphone experiment.

So here is a prediction, fixed before you run anything, and it is not a monotone one. Your threshold in microseconds should be worse at 500 Hz than at 700, because in that range what stays constant is the threshold in phase rather than in time. It should be smallest somewhere between 700 and 1000. Above 1000 it should climb, faster than exponentially, and somewhere near 1400 the staircase should stop converging at all.

Part of that last sentence is arithmetic, not hearing, and here is the size of it. No delay past 0.45 of a carrier period is ever presented, because beyond half a period a lead and a lag are the same stimulus. That ceiling falls as the frequency rises, and the largest threshold this page will report falls with it: So a listener with a perfectly flat threshold, identical at every frequency and with no high-frequency limit at all, is refused more often at the top of the sweep than at the bottom, purely because of the rule. The check panel measures that on simulated flat listeners at three different thresholds and prints all three sets of rates, because how much of it bites depends entirely on where your own threshold sits: near that falling ceiling it dominates, and a listener at 15 us is untouched by it. That is the only honest way to read your own curve: part of the shape is the rule and not the ear, and the part that is yours is whatever sits on top of it.

Instrument 5: the same test, walked up in frequency

Each is its own staircase and takes about as long as section 3. You do not have to run them all, but the shape needs at least three. A refusal at the top is not a failed run; read it against the note above, which says how much of it the rules can produce on their own.

nothing run yet

6The same delay, moved somewhere else

Whatever ends the cue above 1400 Hz, what ended was not your ability to use a delay. It was your ability to use the delay of a carrier. Anything else about the sound that moves slowly should still carry a delay perfectly well, and unlike the mechanism, that part is testable on you in two minutes.

This page does not know why the carrier cue stops, and it will not borrow an explanation it cannot support. The tempting one is that the auditory nerve stops firing in step with the waveform around there. Two things on this page argue against reaching for it. The first is what just happened to the other tidy explanation: section 5 put the head through one line of arithmetic and it came out wrong by a factor of two, and a page that has watched one obvious mechanism fail a test it could run should be slow about adopting the next one it cannot. The second is that the one statement of mechanism anybody working on this page has actually read does not say nerve. Brughera and colleagues' own deposited abstract says where their model starts:
The medial superior olive is in the brainstem, two synapses past the auditory nerve. That is a claim about their model rather than a settled fact about you, they are one group, and this page has read one paragraph of them. What is measured here is that the cue stops near 1400 Hz. Why it stops is not measured here, and this page is not the place to find out.

Henning tested exactly that in 1974, with a 3900 Hz tone whose loudness was wobbling 300 times a second. His finding, from the abstract, is that delaying the whole stimulus and delaying only its wobble are equally detectable, and both are as good as a 300 Hz pure tone. The step from that to "at 3900 Hz the carrier's delay contributes nothing" is an inference, not a measurement of his: if delaying everything is no better than delaying only the wobble, then the carrier's delay added nothing on top of it. This page puts that inference to you directly, which he did not.

So: same tone, same delay, twice. Once the delay is in the carrier and the wobble is identical in both ears. Once the wobble is delayed and the carrier is identical in both ears. Twenty four trials, the two conditions shuffled together so you cannot tell which is which.

Instrument 6: carrier against envelope, at 3900 Hz

locked until the channel check in section 2 passes

Both conditions carry the identical delay, verified in the check panel below: in one the carrier lag is the delay and the envelope lag is zero, in the other it is the other way round, and the estimators are told nothing about which is which.

7Now let the machine take it

Your number is a number about you, and it is worth nothing unless the path underneath it can carry something much smaller. There is one honest way to find that out: give the same task to a machine, over the same rendered audio, through the same staircase and the same reduction, and see where the machine stops.

It runs four ways and three of them are supposed to fail. One uses the page's own synthesis. One rounds the delay to whole samples, the way you get if you forget that a sub-sample delay has to be built rather than requested. One throws the delay away and renders zero. One renders unrelated noise into each ear. A reduction that returns a confident number from the last two is not an instrument.

Instrument 7: the machine listener, on this machine

Every trial is rendered through a real offline audio context in this browser before the machine is allowed to hear it, and it hears through sixteen-bit quantisation, because that is what the output path does. A few seconds.

not yet run

Here is the same battery as it came out in three different browser engines on the machine this page was built on, replayed through the identical reduction that just ran on yours. Two of them run at 48 kHz and one at 44.1 kHz, so the whole-sample control lands in a different place in each, which is exactly the tell: a real threshold does not care what your sample rate is, and that one is nothing but your sample rate.

8What this page will not tell you

A page that always produces a figure is a page that will eventually produce a wrong one. Every place this instrument declined to answer during your visit is listed here, with the reason.

The refusals, this session

The standing ones, which no reader can talk it out of, are listed in the apparatus and are computed from the same constants the staircase runs on. The one worth naming here is the last: this page cannot see your headphones. It can prove that the numbers it handed to your audio system carried the delay, and it does. It cannot prove that what left your earcups did. Nothing running in a browser tab can.

What the check panel checks

Everything above is recomputed below, in your browser, from the shipped module and the committed captures. Lines marked OFFLINE are results your browser cannot redo in the time you would wait. The rest it just did.

Show the check

Running...