Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VexFlowConverter

Helper class, which contains static methods which actually convert from OSMD objects to VexFlow objects.

Hierarchy

  • VexFlowConverter

Index

Methods

Static Clef

  • Clef(clef: ClefInstruction, size?: string): { annotation: string; size: string; type: string }

Static GhostNote

Static NoteHeadCode

  • NoteHeadCode(notehead: Notehead): string

Static StaveNote

Static StrokeTypeFromArpeggioType

  • StrokeTypeFromArpeggioType(arpeggioType: ArpeggioType): Type

Static TimeSignature

Static duration

  • duration(fraction: Fraction, isTuplet: boolean): string

Static font

Static fontStyle

Static generateArticulations

  • generateArticulations(vfnote: StemmableNote, articulations: ArticulationEnum[]): void

Static generateOrnaments

Static keySignature

Static line

Static pitch

Static style

Object literals

Static Private majorMap

majorMap: object

Mapping from numbers of alterations on the key signature to major keys

type

{[alterationsNo: number]: string; }

-1

-1: string = "F"

-2

-2: string = "Bb"

-3

-3: string = "Eb"

-4

-4: string = "Ab"

-5

-5: string = "Db"

-6

-6: string = "Gb"

-7

-7: string = "Cb"

-8

-8: string = "Fb"

0

0: string = "C"

1

1: string = "G"

2

2: string = "D"

3

3: string = "A"

4

4: string = "E"

5

5: string = "B"

6

6: string = "F#"

7

7: string = "C#"

8

8: string = "G#"

Static Private minorMap

minorMap: object

Mapping from numbers of alterations on the key signature to minor keys

type

{[alterationsNo: number]: string; }

-1

-1: string = "D"

-2

-2: string = "G"

-3

-3: string = "C"

-4

-4: string = "F"

-5

-5: string = "Bb"

-6

-6: string = "Eb"

-7

-7: string = "Ab"

-8

-8: string = "Db"

0

0: string = "A"

1

1: string = "E"

2

2: string = "B"

3

3: string = "F#"

4

4: string = "C#"

5

5: string = "G#"

6

6: string = "D#"

7

7: string = "A#"

8

8: string = "E#"

Generated using TypeDoc