@stringsync/vexml
Version:
MusicXML to Vexflow
17 lines (16 loc) • 619 B
TypeScript
import { NamedElement } from '../util';
import { BendType } from './enums';
/**
* The `<bend>` element is used in guitar notation and tablature. A single note with a bend and release will contain two
* `<bend>` elements: the first to represent the bend and the second to represent the release.
*
* See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/bend/
*/
export declare class Bend {
private element;
constructor(element: NamedElement<'bend'>);
/** Returns the number of semitones to bend. */
getAlter(): number;
/** Returns the type of bend. */
getType(): BendType;
}