'Remove an annotation. Operates inplace.
Parameters
idx : int | list of int
Index of the annotation to remove.'

def delete(self, idx):

    self.onset = np.delete(self.onset, idx)
    self.duration = np.delete(self.duration, idx)
    self.description = np.delete(self.description, idx)
