powered by
Check if notes and chords are diatonic in a given key.
is_diatonic(notes, key = "c")
character, a noteworthy string.
character, key signature.
logical
This function is a wrapper around is_in_scale. To check if individual notes are in a scale, see note_in_scale.
is_in_scale
note_in_scale
# NOT RUN { is_diatonic("ceg ace ce_g", "c") is_diatonic(c("r", "d", "dfa", "df#a"), "d") # }
Run the code above in your browser using DataLab