Function getInterval
(
note1: PitchClasstype PitchClassPitchClass | Notetype NoteNote,
note2: PitchClasstype PitchClassPitchClass | Notetype NoteNote
): numbernote2: PitchClasstype PitchClassPitchClass | Notetype NoteNote
Returns the interval from one note to another. Accepts both pitch classes and notes.
· note1 - undefined
· note2 - undefined
Returns
undefinedExample
getNotesInterval('C3', 'G3'); // 7