diff --git a/src/io.py b/src/io.py index 40e846e..4194603 100644 --- a/src/io.py +++ b/src/io.py @@ -93,9 +93,15 @@ def write_path_steps(path: "Path", output_path: str) -> None: lines.append(" {") lines.append(f' "step": {step_idx},') + lines.append( + f' "source_node": {_format_chord_line(step.source_node.pitches)},' + ) lines.append( f' "source_chord": {_format_chord_line(step.source_chord.pitches)},' ) + lines.append( + f' "destination_node": {_format_chord_line(step.destination_node.pitches)},' + ) lines.append( f' "destination_chord": {_format_chord_line(step.destination_chord.pitches)},' )