Re: RMS

Steve Harris <[email protected]>
Newsgroups gmane.comp.audio.jamin.devel
Message-ID <[email protected]>
http://www.ecs.soton.ac.uk/~swh/rms/

That was a bit cryptic, but I had very spotty 3G coverage. Sorry it took
so long to get the code out, I had to find time when there wasn't anything
crashingly urgent to do :-/

I've only tested it on a mac, but there shouldn't be any nasty supprises
there, it's pretty simple code.

It's an implementation of an RMS function with a decaying time window,
which seems appropriate for a meter and is much more efficient than doing
it the hard way.

You have to instantite the state object with the sample rate and the
window size (higher numbers = slower moving meter, I'm guessing 0.1
seconds is about right), if the window size is too large (eg. 1.0 seconds)
then there are some rounding errors in the output, but that shouldn't be
an issue for JAMin.

I may also use the code in the compressors, as I think it would do a
better job there than the rectangular window code I'm using now.

- Steve

On Thu, Nov 23, 2006 at 12:38:11 +0000, Steve Harris wrote:
> http://www.ecs.soton.ac.uk/~swh/rms/
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Jamin-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jamin-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
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.