<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
I'd like to know how decibel is defined in the standard functions of chuck, namely&nbsp;powtodb and rmstodb.&nbsp;After what I've read so far decibel is defined as:<BR>
&nbsp;<BR>
20*log(soundToMeasure/referenceValue)<BR>
&nbsp;<BR>
Is that the formula used for these functions? And if yes, what is the reference Value here? Also, did I get the relation between the float values used for the samples of audio signals in chuck and dB right if I would measure dBs like this:<BR>
- suppose I want to get the maximum&nbsp;dB of an audiosignal. Would it be sufficient to look for the greatest float value&nbsp;in the signal, and then apply powtodb(maximumValue) to it?<BR>
- suppose I want to get the average dB of an audiosignal. Would I have to take all values of the signal, calculate the root mean square after the formula used in statistics and then apply rmstodb? But then I still don't understand why I need another function for this one. So, what is the difference between rmstodb and powtodb.<BR>
&nbsp;<BR>
Have a nice day<BR>
&nbsp;<BR>
Jakob<BR><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>