Factor RMS normalization by sqrt(2); match sine peak
This commit is contained in:
parent
5b23688730
commit
d02cf631c7
@ -1470,7 +1470,7 @@ AudioRegion::rms (Progress* p) const
|
||||
}
|
||||
}
|
||||
}
|
||||
return sqrt (rms / (double)(total * n_chan));
|
||||
return sqrt (2. * rms / (double)(total * n_chan));
|
||||
}
|
||||
|
||||
/** Normalize using a given maximum amplitude and target, so that region
|
||||
|
Loading…
Reference in New Issue
Block a user