Factor RMS normalization by sqrt(2); match sine peak
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user