UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

16 lines (15 loc) 586 B
import { NamedElement } from '../util'; import { HarmonicPitchType, HarmonicType } from './enums'; /** * The `<harmonic>` element indicates natural and artificial harmonics. * * See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/harmonic/ */ export declare class Harmonic { private element; constructor(element: NamedElement<'harmonic'>); /** Returns the type of harmonic. Defaults to 'unspecified'. */ getType(): HarmonicType; /** Returns the pitch type of the harmonic. Defaults to 'unspecified'. */ getPitchType(): HarmonicPitchType; }