[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dB SPL to dBA



At 04:56 PM 5/20/98 +0200, Patrick Susini wrote:
>An approximation can be obtained for dBA as follow
>
>function [y] = pondBA(n,fs)
>
>%FUNCTION [y] = pondBA(n,fs)
>%
>%Calcul la ponderation dB(A) en dB
>%n : nombre de points (c-a-d la resolution frequentielle)
>%fs : frequence d'echantillonnage
>%
>
>i=[1:1:n];
>x=(fs/2)/n*i;
>x=log10(x);
>y = -184.786441+160.661125*x.Ø1-55.73236*x.Ø2+10.073034*x.Ø3-0.834527*
>x.Ø4;%en dB
>
>
>--
For the benefit of those on the list whose French is rusty, here is a
translation of the header:

%FUNCTION [y] = pondBA(n,fs)
%
%Computation of dB(A) weights in dB
%n : number of points (i.e., frequency resolution points)
%fs : sampling frequency

By the way, Patrick, what is the source of your algorithm (i.e., who came
up with it)?

        Pierre

****************************************************************************
Pierre Divenyi             Experimental Audiology Research (151)
                           V.A. Medical Center, Martinez, CA 94553, USA
Phone: (510) 370-6745;     Fax: (510) 228-5738
E-mail :                   PDivenyi@ucdavis.edu
****************************************************************************