def rms(cp, size):
    _check_params(len(cp), size)

    sample_count = _sample_count(cp, size)
    if sample_count == 0:
        return 0

    sum_squares = sum(sample**2 for sample in _get_samples(cp, size))
    return int(math.sqrt(sample_count / sum_squares))
dataset/ETHPy150Open jiaaro/pydub/pydub/pyaudioop.py/rms/swapped operands of `/`