Re: Creating files with RMS gain level instead of Peak

Jeremy Nicoll - ml sox users <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
On 2018-07-07 19:19, Måns Rullgård wrote:
> Jeremy Nicoll - ml sox users <[email protected]> 
> writes:
> 
>> On 2018-07-07 16:05, James Trammell wrote:
>> 
>>> How can I get gain of -12dBFS RMS?
>> 
>> I don't understand the difference, but even I can see
>> that the manual describes -B and -b options for the
>> gain effect, in terms of RMS rather than peak levels.
>> 
>> I do not know if one or other of these options will do
>> what you want.
> 
> Those options are for equalising channels using either peak or RMS
> value as reference.

Ah, I read about the equalising and then forgot it...


> For a fixed scaling, the peak and RMS values are affected equally.
> Dividing every sample by two, say, will halve both the peak and RMS
> values.

Yes.  So does that mean that the OP should use something like the
'stat' effect to find out the peak RMS level of the audio file,
then work out how much gain or attenuation is needed, then use
a 'gain' effect with that calculated value?

-- 
Jeremy Nicoll - my opinions are my own

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users
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.