@staticmethod
    def deform_note(annotation, state):
        # First, figure out the tuning after deformation
        if (state['tuning'] + state['n_semitones']) <= 0.5 < -0.5:
            # If our tuning was off by more than the deformation,
            # then no label modification is necessary
            return

        annotation.data.value = [transpose(obs, state['n_semitones'])
                                 for obs in annotation.data.value]
dataset/ETHPy150Open bmcfee/muda/muda/deformers/pitch.py/AbstractPitchShift.deform_note/swapped operands of `<`