Whether a leading tone resolves correctly upward to the tonic.
The leading-tone note.
The following note.
Key context supplying the tonic.
True when prev is the leading tone and cur is the tonic a step above.
prev
cur
Whether a leading tone resolves correctly upward to the tonic.