How to know how much power is outputting of the function sound according to the amplitude of the signal?
2 views (last 30 days)
Show older comments
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 Comments
Jonas
on 22 Jul 2022
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
Answers (0)
See Also
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!