Community Forums Archive

Go Back

Subject:RMS level as a file property (ideally)
Posted by: David Thiel
Date:5/27/2006 4:53:58 PM

I am working on an interactive project where I have about a thousand 1 to 4 second voice clips which get played over a music and sound FX bed. I want to be able to sort a list based on RMS level of each wav file so that I can feret out some of the problem files (with repsect to level). Over a four day cut up sessions your perspective changes and sometime you just don't normalize the same way. Besides it is length and content sensitive as well.
What I want is a way to look at the list of files and see the RMS level (that I would see if I invoked Tools:Statistic) on the file.
What I don't want to do is to have to open up each file and somehow copy it down.
This seems like something I should be able to do with either Batch processing or scripting but I can't find a way.
I already know that Sound Forge batch processing has limits on the number of files that it will deal with. I can work around that.
I know that I am not the only person dealing with large numbers of speech assets for interaction.
Any ideas?
thanks

Subject:RE: RMS level as a file property (ideally)
Reply by: Geoff_Wood
Date:5/27/2006 7:38:58 PM

Looks like a good question to ask on the 'SF Scripting' forum !

Subject:RE: RMS level as a file property (ideally)
Reply by: David Thiel
Date:5/28/2006 10:29:31 AM

While waiting for a reply I checked out the scripting forum. This looks promising. SonyDJ posts script examples from time to time. There is one script fragment that print the contents of the Statistic window in the output log of the script window.
I am looking into changing this program so that takes a folder as an argument and outputs a log file with the name of each file and a few properties (including RMS volume) on a line with standard delimiter.
Armed with this I can sort by RMS and find the troublemakers fast.
Wish me luck. I am a C programmer but I have never touched JScript (and its library).

Go Back