Search results

Types

Classes
Interfaces
Enums
Functions
Type aliases
Constants

Members

Properties
Methods
Getters
Setters
Enum members
Show privates

Other

In this module only

Function getInterval

Defined in PureMusicUtils.ts

(
note1: PitchClasstype PitchClassPitchClass | Notetype NoteNote,
note2: PitchClasstype PitchClassPitchClass | Notetype NoteNote
): number

Returns the interval from one note to another. Accepts both pitch classes and notes.

· note1 - undefined
· note2 - undefined

Returns

undefined

Example

getNotesInterval('C3', 'G3'); // 7