What does In-Ear Noise Cancelling, Occlusion and Listening Effort conclude, in numbers, about “Secondary-Path Delay: Phase Error 2πfτ and the Band Edge of 10 dB Cancellation”?
Answer: Chapter 2 derives the reduction −20log10|1−e^{−jφ}| under a delay τ, so that 10 dB requires fτ of at most 0.05054.
Scope of the numbers: Chapter 3 checks Bode's sensitivity integral numerically: the quiet side and the loud side of an illustrative feedback loop are each 32.9 dB·kHz. Chapter 5 prices cancellation with the Speech Intelligibility Index: one decibel at 250 Hz is worth only 0.00206 and one at 2000 Hz 0.00883, and in the illustrative scene cancellation lowers the playback level needed for equal intelligibility by 5.1 dB.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.05054, 10, 20
| phase allowed | 6 dB 29.03 deg, 10 dB 18.19 deg, 20 dB 5.73 deg |
| f*tau at 10 dB | 0.05054; at 0 dB (phi = 60 deg) = 0.16667 |
| tau (us) f(20 dB) f(10 dB) f(6 dB) f(0 dB) Hz | |
| 5 | 3184 10108 16125 33333 |
| 10 | 1592 5054 8063 16667 |
| 25 | 637 2022 3225 6667 |
| 50 | 318 1011 1613 3333 |
| 100 | 159 505 806 1667 |
| 200 | 80 253 403 833 |
| 500 | 32 101 161 333 |
| tau | 50 us, reduction by frequency (negative = boost): |
| 100 Hz | 30.06 dB |
| 250 Hz | 22.10 dB |
| 500 Hz | 16.09 dB |
| 1000 Hz | 10.09 dB |
| 2000 Hz | 4.18 dB |
| 3333 Hz | 0.00 dB |
| 5000 Hz | -3.01 dB |
| 10000 Hz | -6.02 dB |
Key formula
Show the full program
# Chapter 2. p21: How much bandwidth a secondary-path delay leaves.
# Model: the anti-noise is a perfect inverted copy of an unpredictable
# broadband disturbance but arrives tau seconds late. At frequency f the
# residual is 1 - exp(-j phi) with phi = 2 pi f tau, so the reduction is
# R(f) = -20 log10 |1 - exp(-j phi)| = -20 log10 (2 sin(phi / 2)).
# Solving R = A dB gives phi_A = 2 asin(10^(-A/20) / 2) and the upper
# band edge f_A = phi_A / (2 pi tau). Exact; the delays are examples.
import math
def phi_for(a_db):
return 2 * math.asin(10 ** (-a_db / 20) / 2)
def f_edge(a_db, tau):
return phi_for(a_db) / (2 * math.pi * tau)
if __name__ == "__main__":
print("phase allowed: 6 dB {:.2f} deg, 10 dB {:.2f} deg,"
" 20 dB {:.2f} deg".format(*(math.degrees(phi_for(a))
for a in (6, 10, 20))))
print("f*tau at 10 dB = {:.5f}; at 0 dB (phi = 60 deg) = {:.5f}".format(
phi_for(10) / (2 * math.pi), 1 / 6))
print(" tau (us) f(20 dB) f(10 dB) f(6 dB) f(0 dB) Hz")
for us in (5, 10, 25, 50, 100, 200, 500):
tau = us * 1e-6
print("{:>10} {:>9.0f} {:>9.0f} {:>9.0f} {:>7.0f}".format(
us, f_edge(20, tau), f_edge(10, tau), f_edge(6, tau),
1 / (6 * tau)))
tau = 50e-6
print("tau = 50 us, reduction by frequency (negative = boost):")
for f in (100, 250, 500, 1000, 2000, 3333, 5000, 10000):
phi = 2 * math.pi * f * tau
r = -20 * math.log10(2 * math.sin(phi / 2))
print(" {:>6} Hz {:>7.2f} dB".format(f, r))Single source and citation
Fan, Y. (2026). LMS Adaptive Filtering in In-Ear Active Noise Cancellation, Occlusion-Effect Bone-Conduction Gain and SNR-Driven Cognitive Recovery (Version 1.0.0), Chapter 2: Secondary-Path Delay: Phase Error 2πfτ and the Band Edge of 10 dB Cancellation. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-164 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026164,
author = {Fan, Yafu},
title = {LMS Adaptive Filtering in In-Ear Active Noise Cancellation, Occlusion-Effect Bone-Conduction Gain and SNR-Driven Cognitive Recovery},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · LMS and Filtered-x LMS: Where the Step-Size Bound 2/(L·P) Really Sits
- Chapter 3 · The Waterbed of Feedback Cancellation: a Numerical Ledger of Bode's Sensitivity Integral
- Chapter 4 · The Occlusion Effect: Lumped Equations of a Closed Ear Canal and the Price of a Vent
- Chapter 5 · An Exchange Rate for Signal-to-Noise: Pricing Cancellation with the Speech Intelligibility Index
- Chapter 6 · Listening Effort: Kahneman's Capacity Model and the Inverted U of the Pupil
- Chapter 7 · Sources Examined: "The Great Sound Is Faint" and Lueg's Duct
- Chapter 8 · Practice and Refutation: a Persuasive-Copy Checker and Pre-Registered Tests