OpenSheetMusicDisplay
    Preparing search index...

    Class BrailleConverter

    Main orchestrator that converts a MusicSheet to braille music notation. This is the primary public API for the braille module.

    Usage:

    const converter = new BrailleConverter();
    const output = converter.convert(osmd.Sheet);
    console.log(output.text); // braille string
    Index

    Constructors

    Methods

    • Pre-compute the number of notes in each slur across the entire score. Used to decide between short slurs (≤4 notes → per-note signs) and bracket slurs (>4 notes → open/close brackets). Par. 13.3.

      Parameters

      Returns Map<Slur, number>