A method for determining an inverse filter for a loudspeaker having an impulse response, including the steps of: measuring the impulse response of the loudspeaker at each of a number of different locations relative to the loudspeaker; time-aligning and averaging the measured impulse responses to determine an averaged impulse response; and determining the inverse filter from the averaged impulse response and a target frequency response, by minimizing a total error between a target response for the loudspeaker and the averaged impulse response convolved with the inverse filter; wherein the total error ε t is ε t = 1 − α ε p + αε s = g T Pg g T g, where ε p is a pass band error in a pass band and ε s is a stop band error in a stop band and where α is a weighting factor; wherein the coefficients g = [ g g g ··· g ( L -1)] T of the inverse filter are determined as the eigenvector corresponding to the minimum eigenvalue of the matrix P, wherein the matrix P = (1- α) P p + α P s, with P s = H T 1 2 ⁢ π ∫ − ω sl ω sl e e jω e † e jω dω + 1 2 ⁢ π ∫ ω su 2 ⁢ π − ω su e e jω e † e jω dω H *, wherein e ( e jω)=[1 e -jω e -j 2 ω ··· e -j ( N- 1) ω] T and where H is a convolution matrix determined by the averaged impulse response as H = h 0 0 0 ⋯ 0 h 1 h 0 0 0 h 2 h 1 h 0 ⋮ ⋮ h 2 h 1 ⋱ 0 h M − 1 ⋮ h 2 ⋱ 0 0 h M − 1 ⋮ ⋱ h 0 0 0 h M − 1 h 1 ⋮ 0 0 h 2 0 ⋮ ⋮ ⋱ ⋮ 0 0 0 ⋯ h M − 1, wherein ω sl and ω su are the edge frequencies of the stop band; wherein P p = H T 1 π ∫ ω pl ω pu Re P e jω P e jω 0 e e jω 0 − e e jω P e jω P e jω 0 e e jω 0 − e e jω † dω H *, wherein P ( e jω) = e -jωg d is the target frequency response and g d is the group delay; wherein ω pl and ω pu are the edge frequencies of the pass band and ω 0 is a reference frequency at which the pass band error is zero. measuring the impulse response of the loudspeaker at each of a number of different locations relative to the loudspeaker; time-aligning and averaging the measured impulse responses to determine an averaged impulse response; and determining the inverse filter from the averaged impulse response and a target frequency response, by minimizing a total error between a target response for the loudspeaker and the averaged impulse response convolved with the inverse filter; wherein the total error ε t is ε t = 1 − α ε p + αε s = g T Pg g T g, where ε p is a pass band error in a pass band and ε s is a stop band error in a stop band and where α is a weighting factor; wherein the coefficients g = [ g g g ··· g ( L -1)] T of the inverse filter are determined as the eigenvector corresponding to the minimum eigenvalue of the matrix P, wherein the matrix P = (1- α) P p + α P s, with P s = H T 1 2 ⁢ π ∫ − ω sl ω sl e e jω e † e jω dω + 1 2 ⁢ π ∫ ω su 2 ⁢ π − ω su e e jω e † e jω dω H *, wherein e ( e jω)=[1 e -jω e -j 2 ω ··· e -j ( N- 1) ω] T and where H is a convolution matrix determined by the averaged impulse response as H = h 0 0 0 ⋯ 0 h 1 h 0 0 0 h 2 h 1 h 0 ⋮ ⋮ h 2 h 1 ⋱ 0 h M − 1 ⋮ h 2 ⋱ 0 0 h M − 1 ⋮ ⋱ h 0 0 0 h M − 1 h 1 ⋮ 0 0 h 2 0 ⋮ ⋮ ⋱ ⋮ 0 0 0 ⋯ h M − 1, wherein ω sl and ω su are the edge frequencies of the stop band; wherein P p = H T 1 π ∫ ω pl ω pu Re P e jω P e jω 0 e e jω 0 − e e jω P e jω P e jω 0 e e jω 0 − e e jω † dω H *, wherein P ( e jω) = e -jωg d is the target frequency response and g d is the group delay; wherein ω pl and ω pu are the edge frequencies of the pass band and ω 0 is a reference frequency at which the pass band error is zero.