diff --git a/aria/data/midi.py b/aria/data/midi.py index fc275b5..6a0a43b 100644 --- a/aria/data/midi.py +++ b/aria/data/midi.py @@ -252,9 +252,7 @@ def resolve_pedal(self): """Resolve pedal - extend note offsets and resolve note overlaps""" # If has been already resolved, we don't recalculate if self.pedal_resolved == True: - return self - - assert self.pedal_resolved == False, "Internal error" + print("Pedal has already been resolved") # Organize note messages by channel note_msgs_c = defaultdict(list)