

@transform_sequence
def invert(midi_pitch_pivot, point):
    if (MIDI_PITCH in point):
        interval = (point[MIDI_PITCH] - midi_pitch_pivot)
        midi_pitch_pivot[MIDI_PITCH] = (midi_pitch_pivot - interval)
    return point

dataset/ETHPy150Open jtauber/sebastian/sebastian/core/transforms.py invert/VarMisuse@35/54 `point`->`midi_pitch_pivot`