A-weighting Sound Filter
이전 댓글 표시
I am trying to obtain an A-weighted sound power level (SPL) in dB by using the fdesign.audioweighting function available in the DSP System toolbox. My beginning data are pressure values from multiple microphones which recorded the data at 25.6 kHz. I know all of the equations to calculate unweighted SPL and my calculated values are correct for that case. However, I have tried applying the A-weighting filter at multiple points in the conversion of data from pressure to SPL with no success. I have also tried calculating an FFT and applying the filter to the data in the frequency domain. All of the help descriptions and tutorials end at using fvtool to visualize the filter, but do not describe how to implement the filter on real data. Any insights would be extremely helpful.
Thanks in advance.
댓글 수: 2
Daniel Shub
2012년 11월 8일
Can you post some example code showing what you are trying, what you expect, and what you get.
Kevin
2012년 11월 8일
답변 (1개)
Daniel Shub
2012년 11월 8일
Your example code is for a single period of a sine wave. The filter you design, however, rings for a period of time. You want to look at the long term average. Changing your definition of Ns to
Ns = 512*1e3;
I think gives you what you would expect ...
댓글 수: 2
Kevin
2012년 11월 8일
Davide
2013년 9월 4일
i do not know i can do this, if not please forget this post :) anyway, i've a issue on a-weightening, you can find it here http://www.mathworks.it/matlabcentral/answers/85788-a-weighting-filter-to-lookup-table can you look at this? thank you, davide
카테고리
도움말 센터 및 File Exchange에서 Measurements and Spatial Audio에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!