logical, reduce the interval to that defined by notes within a single octave.
format
character, format of the scale notation: major/minor/perfect, augmented/diminished, and respective abbreviations. See argument options in defaults.
tuning
character, string tuning.
Value
a musical interval, integer or character depending on the function.
Details
Intervals are directional. pitch_interval returns the number of semitones defining the distance between two notes. The interval is negative if note1 has higher pitch than note2.
For scale_interval, a character string is returned that provides the named main interval, simple or compound, defined by the two notes.
This function will return NA for any uncommon interval not listed in mainIntervals.