feat: Adjust RMS Window

This commit is contained in:
daniel-c-harvey
2026-06-17 06:42:21 -04:00
parent 8331ccf6a3
commit ad94354632
@@ -16,7 +16,7 @@ public class RmsLoudnessAlgorithm : ILoudnessAlgorithm
/// transients (kicks, drops) still read. Applied as a symmetric (forward+backward) one-pole /// transients (kicks, drops) still read. Applied as a symmetric (forward+backward) one-pole
/// filter so the smoothing introduces no time lag. /// filter so the smoothing introduces no time lag.
/// </summary> /// </summary>
public const double SmoothingTimeConstantSeconds = 0.015; public const double SmoothingTimeConstantSeconds = 0.005;
public double[] Compute(ReadOnlySpan<byte> pcmData, int channels, int sampleRate, int bitsPerSample, int bucketCount) public double[] Compute(ReadOnlySpan<byte> pcmData, int channels, int sampleRate, int bitsPerSample, int bucketCount)
{ {