Quote:
Originally Posted by sparkenhoe
That would be better than nothing to be honest, when reviewing completed tracks for final selection to a CD for example. Any idea how this could be scripted? Not done this before.
I appreciate LUFS are the way things are measured these days but RMS is still a useful thing to be able to gauge for music destined for release on physical formats.
|
LUFS is RMS weighted by frequency, so depending on the material the difference may not be that huge.
For scripting it, you create a take audio accessor and then use that audio accessor to get the samples, Then you sum up their squares and divide by the number of samples, and take the square root of that. This is then your RMS.
Of course, there are details that have to be taken care of, such as handling multiple channels, like stereo. A short but still a little more detailed description of how to access samples by an audio accessor is here:
https://mespotin.uber.space/Ultrasch...ccessorSamples
That page is also a great resource for the API. Thanks for that Mespotine!