Subject: Re: dB SPL to dBA From: Pierre Divenyi <pdivenyi(at)marva4.ncsc.med.va.gov> Date: Wed, 20 May 1998 10:27:17 -0700At 04:56 PM 5/20/98 +0200, Patrick Susini wrote: >An approximation can be obtained for dBA as follow > >function [y] =3D pondBA(n,fs) > >%FUNCTION [y] =3D 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=3D[1:1:n]; >x=3D(fs/2)/n*i; >x=3Dlog10(x); >y =3D -184.786441+160.661125*x.=D81-55.73236*x.=D82+10.073034*x.=D83-0.8= 34527* >x.=D84;%en dB > > >-- For the benefit of those on the list whose French is rusty, here is a translation of the header: %FUNCTION [y] =3D 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(at)ucdavis.edu *************************************************************************= ***