How to know how much power is outputting of the function sound according to the amplitude of the signal?

조회 수: 2 (최근 30일)
Hi guys,
as the question state,How to know how much power is outputting of the function sound according to the amplitude of the signal?
Am=1;
fs=25000;
fsig=3000;
t=0:1/fs:3;
sig=Am*sin(2*pi*f*t);
sound(sig,fs)
  댓글 수: 6
SimTec
SimTec 2022년 7월 22일
wow, did not know that but I thought there is kind of reference on how to measure it
Jonas
Jonas 2022년 7월 22일
do you want to measure or to estimate it?
start with your sound signal, you could assume a free field (e.g. a damped chamber) without reflections. You need to know SPL of your signal at a certain distance r0 (e.g. 1m). then extrapolate the sound level according to distance by subtracting 6dB per doubling. the amount of subtraction at distance r can be estimated by -20*log10(r/r0). you coould then assume that the listener's ear is directed towards the sound source and ignore effect of the ear's pinna, ear channel, the ear drum etc. finally reaching the cochlear where you could use Matlab's acousticLoudness() to consider several masking effects
as you can see, the digital signal amplitude tells you nothing since you first need to turn it into a real world analog sound using hardware, so here as the first moment i what's cj you can start to speak about a level/power of sound. of course you have also ti consider not ideal hardware (loudspeakers) which changes spectral content of your original signal

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by