UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

18 lines (17 loc) 611 B
import { NamedElement } from '../util'; import { PedalType } from './enums'; /** * The <pedal> element represents piano pedal marks, including damper and sostenuto pedal marks. * * See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/pedal/ */ export declare class Pedal { private element; constructor(element: NamedElement<'pedal'>); /** Returns the type of pedal. Defaults to 'start'. */ getType(): PedalType; /** Whether to show pedal signs. Defaults to false. */ sign(): boolean; /** Whether to show pedal lines. Defaults to false. */ line(): boolean; }