Class VexFlow

Hierarchy

  • VexFlow

Constructors

Methods

  • Converts VexFlow base duration syntax to MidiWriterJS syntax

    Parameters

    • duration: string

      Vexflow duration

    Returns string

    MidiWriterJS duration

  • Converts VexFlow duration syntax to MidiWriterJS syntax

    Parameters

    • note: any

      struct from VexFlow

    Returns string

  • Converts VexFlow pitch syntax to MidiWriterJS syntax

    Parameters

    • pitch: any

      string

    • index: any

      pitch index

    • note: any

      struct from Vexflow

    • addRenderedAccidentals: boolean = false

      adds Vexflow rendered accidentals

    Returns any

  • Support for converting VexFlow voice into MidiWriterJS track

    Parameters

    • voice: any
    • options: {
          addRenderedAccidentals: boolean;
      } = ...
      • addRenderedAccidentals: boolean

    Returns Track

    MidiWriter.Track object

Generated using TypeDoc