is_diatonic | R Documentation |
Check if notes and chords are diatonic in a given key.
is_diatonic(notes, key = "c")
notes |
character, a noteworthy string. |
key |
character, key signature. |
This function is a wrapper around is_in_scale()
. To check if individual
notes are in a scale, see note_in_scale()
.
logical
is_in_scale()
is_diatonic("ceg ace ce_g", "c")
is_diatonic(c("r", "d", "dfa", "df#a"), "d")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.