Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Instrument

Hierarchy

Index

Constructors

constructor

Properties

Private hasChordSymbols

hasChordSymbols: boolean = false

Private hasLyrics

hasLyrics: boolean = false

highlight

highlight: boolean

Private id

id: number

Private idString

idString: string

Private lyricVersesNumbers

lyricVersesNumbers: number[] = []

Private nameLabel

nameLabel: Label

Private playbackTranspose

playbackTranspose: number

Private staves

staves: Staff[] = []

Private subInstruments

subInstruments: SubInstrument[] = []

transpose

transpose: number = 0

Private voices

voices: Voice[] = []

Accessors

Audible

  • get Audible(): boolean
  • set Audible(value: boolean): void

Following

  • get Following(): boolean
  • set Following(value: boolean): void

GetMusicSheet

HasChordSymbols

  • get HasChordSymbols(): boolean
  • set HasChordSymbols(value: boolean): void

HasLyrics

  • get HasLyrics(): boolean
  • set HasLyrics(value: boolean): void

Id

  • get Id(): number

IdString

  • get IdString(): string

InstrumentalGroups

LyricVersesNumbers

  • get LyricVersesNumbers(): number[]
  • set LyricVersesNumbers(value: number[]): void

MidiInstrumentId

Name

  • get Name(): string
  • set Name(value: string): void

NameLabel

Parent

PlaybackTranspose

  • get PlaybackTranspose(): number
  • set PlaybackTranspose(value: number): void

Staves

SubInstruments

Visible

  • get Visible(): boolean
  • set Visible(value: boolean): void

Voices

Volume

  • get Volume(): number
  • set Volume(value: number): void

Methods

SetStaffAudible

  • SetStaffAudible(staffId: number, audible: boolean): void

SetStaffFollow

  • SetStaffFollow(staffId: number, follow: boolean): void

SetVoiceAudible

  • SetVoiceAudible(voiceId: number, audible: boolean): void

SetVoiceFollowing

  • SetVoiceFollowing(voiceId: number, following: boolean): void

areAllVoiceVisible

  • areAllVoiceVisible(): boolean

createStaves

  • createStaves(numberOfStaves: number): void

getSubInstrument

Generated using TypeDoc