Class EasyScore

EasyScore implements a parser for a simple language to generate VexFlow objects.

Hierarchy

  • EasyScore

Constructors

Properties

builder: Builder
defaults: EasyScoreDefaults = ...
factory: Factory
parser: Parser
DEBUG: boolean = false

Methods

  • Parameters

    Returns void

  • Set the score defaults. clef must be set appropriately to avoid errors when adding Staves.

    Parameters

    Returns EasyScore

    this

  • Parameters

    • notes: Note[]
    • options: {
          options?: {
              softmaxFactor: number;
          };
          time?: string;
      } = {}
      • Optional options?: {
            softmaxFactor: number;
        }
        • softmaxFactor: number
      • Optional time?: string

    Returns Voice