Check if notes and chords are diatonic in a given key.
Details
This function is a wrapper around is_in_scale(). To check if individual
notes are in a scale, see note_in_scale().
Examples
is_diatonic("ceg ace ce_g", "c")
#> [1] TRUE TRUE FALSE
is_diatonic(c("r", "d", "dfa", "df#a"), "d")
#> [1] NA TRUE FALSE TRUE
