Commit 2b4a6ce6 authored by Anika Treffehn's avatar Anika Treffehn
Browse files

10 iterations in loudness tool not 9

parent a0f166cc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ def loudness_norm(
    )

    # repeat until convergence of loudness
    while np.abs(measured_loudness - target_loudness) > 0.5 and num_iter < 10:
    while np.abs(measured_loudness - target_loudness) > 0.5 and num_iter <= 10:
        # scale input
        scaled_input.audio *= scale_factor_new