Skip to main content

interval_class_set

Function interval_class_set 

Source
pub fn interval_class_set(pitches: &[Pitch]) -> Vec<u8> ⓘ
Expand description

Every interval class between two of the notes, 1 to 6, each once and in order: music21’s _getIntervalClassSet, which is how is_consonant reads the notes and the chords a reduction allows or forbids.