Subject:RMS algorithmPosted by: SonicCaveDanDate:10/14/2005 11:21:26 AMIs it possible to get the algorithm SF uses for deriving RMS values? Not sure how proprietary that is - it is a fairly standard algorithm though different applications use different varieties of the basic procedure. I need it to generate RMS values for large groups of files - it wouldn't work to have to load the files into SF one by one and scan them individually. Thanks for any info ... dwf |

Subject:RE: RMS algorithmReply by: mpdDate:10/14/2005 2:02:57 PMTo calculate rms, you calculate the squart root of the average of the squares. 1. Square the data: y[n] = x[n]^2 2. Compute the average: mu = (sum(i=1..N) y ) / N3.. Compute the suqre root: rms = sqrt(mu) Or roll it all together rms = sqrt((sum(i=1..N) x[n]^2) / N) |

Subject:RE: RMS algorithmReply by: SonicCaveDanDate:10/18/2005 11:24:39 AMI've gotten that far. What I don't seem to have is the calculation to convert that do "dB down from 0 dB". There is also the question of windowing. One algorithm I saw uses 50ms windows, gets the RMS value for each window, sorts them, then takes the value 5% from the highest one. There are definitely a few ways to skin this cat and I'm hoping to zero in on the one SF uses - code would be great ... thanks dwf |