Skip to content

Remove dead chord slot from resolved_chords tuple #3

Description

@ddri

In `src/banjo/midi_writer.py:generate()`, the loop builds a 4-tuple `(spec, parsed, chord, voiced)` into `resolved_chords`, but `chord` is never read after construction (the metadata loop reads only `spec`, `parsed`, `voiced`; the events loop also doesn't touch it). Pre-dates the voice-leading work but became visible during that review.

Suggested: drop `chord` from the tuple — change to `(spec, parsed, voiced)` and update the two unpacking sites. ~5-line cleanup.

Cosmetic; doesn't affect behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions