pub fn find_scale_chords(steps: &Steps, chord_size: usize) -> Vec<Chord>
Expand description

Given a scale in the form of Steps, find all the chords build from each scale degree. chord_size determines the size of the chord, so 4 will result in chords with 4 notes.

Example:

use music_theory::{ theory::*, query::*, libr };
let chords = find_scale_chords(&libr::ionian::steps(), 3);
assert_eq!(
    (&chords[0], &chords[6]),
    (&Chord::new(MAJOR), &Chord::new(MINOR_DIMINISHED))
);