Function music_theory::query::printouts::scale_chords_roman_printout
source · pub fn scale_chords_roman_printout(
steps: &Steps,
size: usize,
style: ChordStyle
) -> Vec<String>
Expand description
Outputs the chords of the scale degrees with roman numerals as base string.
Example:
use music_theory::{ theory::*, query::*, libr::* };
let style = ChordStyle::Std(MStyle::Long, EStyle::Long);
let chords = scale_chords_roman_printout(&ionian::steps(), 3, style);
assert_eq!(&chords[0], "Imaj");
assert_eq!(&chords[1], "IImin");