web-music-score - v6.4.0
    Preparing search index...

    Function loadInstrument

    • Load samples samples to be ready for playback. If instrument is not manually loaded it will be loaded on the run so there might be silent notes in the beginning.

      Parameters

      • instrument: string | number

        Instrument name (string) or 0-based midi program (number).

      Returns Promise<void>