powered by
Check whether a chord is diatonic in a given key.
chord_is_diatonic(chord, key = "c")
character, a chord string. May be a vector.
character, key signature.
logical
This function strictly accepts chord strings. To check if notes are in a scale, see note_in_scale. To check generally if a noteworthy string is fully diatonic, see is_diatonic.
note_in_scale
noteworthy
is_diatonic
note_in_scale, is_diatonic
# NOT RUN { chord_is_diatonic("ceg ace ce_g", "c") chord_is_diatonic(c("dfa", "df#a"), "d") # }
Run the code above in your browser using DataLab