Build a chord rooted on a diatonic scale degree.
The root pitch class is the degree's diatonic pitch class in key; the quality's interval template is attached unchanged. Degrees beyond the scale length wrap around.
key
0-based scale degree of the chord root.
Chord quality to apply.
Key context supplying the diatonic root.
The constructed chord.
Build a chord rooted on a diatonic scale degree.
The root pitch class is the degree's diatonic pitch class in
key; the quality's interval template is attached unchanged. Degrees beyond the scale length wrap around.