Re: CVS Commit 0.97.04

Jan Depner <[email protected]>
Newsgroups gmane.comp.audio.jamin.devel
Message-ID <1182466141.21427.7.camel@eviltwin>
So, the change was just in rms.c right?  I've got a boatload of changes
so I just want to add that one in.

Jan


On Thu, 2007-06-21 at 19:48 +0100, Steve Harris wrote:
> Fixed the problem with the RMS calculation. It was very simple in the  
> end, though it took some finding.
> 
> In the approximation function we divide some positive number in the  
> range [0,1] by the previous estimate, but if the previous estimate  
> has been 0 then we get Inf as the value next time round, and that  
> takes a while to decay back the the real value.
> 
> To get round it I just added a small bias to the input value, so it's  
> never truly zero.
> 
> This will have been causing the CPU load in JAMin to go up when there  
> was silence input - doing calculations on Inf is expensive - but it  
> may not have been observable over the load from the FFT.
> 
> - Steve
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jamin-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jamin-devel
-- 
Jan 'Evil Twin' Depner
http://myweb.cableone.net/eviltwin69

"Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways, chardonnay in one hand, chocolate in the other, body 
thoroughly used up, totally worn out, and screaming 'WOO HOO, what a ride'"


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.