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 intervalsToNotes

Defined in Theory.ts

(
note: PitchClasstype PitchClassPitchClass | Notetype NoteNote,
pattern: Arrayexternal Array<number>
): Arrayexternal Array<PitchClasstype PitchClassPitchClass | Notetype NoteNote>

Creates an array of notes from a note/pitch class & an array of intervals.

· note - undefined
· pattern - undefined

Returns

undefined

Example

notesFromPattern('C4', [0, 2, 4, 5, 7, 9, 11]) // => ['C4', 'D4', 'E4', 'F4', 'G4', 'A4', 'B4']