def METHOD_NAME(signal, is_noise=False):
    """
    This function normalizes the audio signals for loudness
    """
    with warnings.catch_warnings():
        warnings.simplefilter("ignore")
        c_loudness = meter.integrated_loudness(signal)
        if is_noise:
            target_loudness = random.uniform(
                MIN_LOUDNESS - 5, MAX_LOUDNESS - 5
            )
        else:
            target_loudness = random.uniform(MIN_LOUDNESS, MAX_LOUDNESS)
        signal = pyloudnorm.METHOD_NAME.loudness(
            signal, c_loudness, target_loudness
        )
        # check for clipping
        if np.max(np.abs(signal)) >= 1:
            signal = signal * MAX_AMP / np.max(np.abs(signal))
    return torch.from_numpy(signal)