Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyInstruction

A KeyInstruction is a key signature denoting which notes are to be sharpened or flattened.

Hierarchy

Index

Constructors

constructor

Properties

Private keyType

keyType: number

Private mode

mode: KeyEnum

Protected parent

Static Private flatPositionList

flatPositionList: NoteEnum[] = [NoteEnum.B, NoteEnum.E, NoteEnum.A, NoteEnum.D, NoteEnum.G, NoteEnum.C, NoteEnum.F]

Static Private sharpPositionList

sharpPositionList: NoteEnum[] = [NoteEnum.F, NoteEnum.C, NoteEnum.G, NoteEnum.D, NoteEnum.A, NoteEnum.E, NoteEnum.B]

Accessors

Key

  • get Key(): number
  • set Key(value: number): void

Mode

Parent

Methods

OperatorEquals

OperatorNotEqual

ToString

  • ToString(): string

getAlterationForPitch

getFundamentalNotesOfAccidentals

  • getFundamentalNotesOfAccidentals(): NoteEnum[]

Static copy

Static getAllPossibleMajorKeyInstructions

Static getNoteEnumList

Generated using TypeDoc