OpenSheetMusicDisplay
    Preparing search index...

    Class Instrument

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    highlight: boolean
    Transpose: number = 0

    Transposition halftones for this instrument only. This is additive to osmd.Sheet.Transpose (MusicSheet). osmd.TransposeCaculator needs to be defined/created for this to take effect. (just set it with new TransposeCalculator()) You need to call osmd.updateGraphic() before the next render() (assuming this is set after load()).

    Accessors

    Methods

    • Parameters

      • staffId: number
      • audible: boolean

      Returns void

    • Parameters

      • voiceId: number
      • audible: boolean

      Returns void

    • Parameters

      • voiceId: number
      • following: boolean

      Returns void