Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

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()).

hasChordSymbols: boolean = false
hasLyrics: boolean = false
highlight: boolean
id: number
idString: string
lyricVersesNumbers: string[] = []
nameLabel: Label
partAbbreviation: string
playbackTranspose: number
staves: Staff[] = []
subInstruments: SubInstrument[] = []
voices: Voice[] = []

Accessors

  • get Audible(): boolean
  • set Audible(value: boolean): void
  • get Following(): boolean
  • set Following(value: boolean): void
  • get HasChordSymbols(): boolean
  • set HasChordSymbols(value: boolean): void
  • get HasLyrics(): boolean
  • set HasLyrics(value: boolean): void
  • get Id(): number
  • get IdString(): string
  • get LyricVersesNumbers(): string[]
  • set LyricVersesNumbers(value: string[]): void
  • get Name(): string
  • set Name(value: string): void
  • get PartAbbreviation(): string
  • set PartAbbreviation(value: string): void
  • get PlaybackTranspose(): number
  • set PlaybackTranspose(value: number): void
  • get Visible(): boolean
  • set Visible(value: boolean): void
  • get Volume(): number
  • set Volume(value: number): void

Methods

  • SetStaffAudible(staffId: number, audible: boolean): void
  • SetStaffFollow(staffId: number, follow: boolean): void
  • SetVoiceAudible(voiceId: number, audible: boolean): void
  • SetVoiceFollowing(voiceId: number, following: boolean): void
  • areAllVoiceVisible(): boolean
  • createStaves(numberOfStaves: number): void
  • toString(): string

Generated using TypeDoc