pitchscapes.util.start_end_to_center_width

pitchscapes.util.start_end_to_center_width(start, end)[source]

Transform (start, end) coordinates of a window to (center, width) coordinates