Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MusicSheet

This is the representation of a complete piece of sheet music. It includes the contents of a MusicXML file after the reading.

Hierarchy

  • MusicSheet

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private composer

composer: Label

Private currentEnrolledPosition

currentEnrolledPosition: Fraction = new Fraction(0, 1)

Private defaultStartTempoInBpm

defaultStartTempoInBpm: number = 0

Private drawErroneousMeasures

drawErroneousMeasures: boolean = false

Private dynListStaves

dynListStaves: DynamicsContainer[] = []

Private engravingRules

engravingRules: EngravingRules

Private hasBeenOpenedForTheFirstTime

hasBeenOpenedForTheFirstTime: boolean = false

Private idString

idString: string = "kjgdfuilhsdaƶoihfsvjh"

Private instrumentalGroups

instrumentalGroups: InstrumentalGroup[] = []

Private instruments

instruments: Instrument[] = []

Private lyricist

lyricist: Label

Private musicPartManager

musicPartManager: MusicPartManager = undefined

Private musicSheetErrors

musicSheetErrors: MusicSheetErrors = new MusicSheetErrors()

pageWidth

pageWidth: number

Private path

path: string

Private playbackSettings

playbackSettings: PlaybackSettings

Private repetitions

repetitions: Repetition[] = []

rules

Private selectionEnd

selectionEnd: Fraction

Private selectionStart

selectionStart: Fraction

Private sourceMeasures

sourceMeasures: SourceMeasure[] = []

Private staves

staves: Staff[] = []

Private subtitle

subtitle: Label

Private timestampSortedDynamicExpressionsList

timestampSortedDynamicExpressionsList: DynamicsContainer[] = []

Private timestampSortedTempoExpressionsList

timestampSortedTempoExpressionsList: MultiTempoExpression[] = []

Private title

title: Label

Private transpose

transpose: number = 0

userStartTempoInBPM

userStartTempoInBPM: number

Static defaultTitle

defaultTitle: string = "[kein Titel]"

Accessors

Composer

  • get Composer(): Label
  • set Composer(value: Label): void

ComposerString

  • get ComposerString(): string

CurrentEnrolledPosition

  • get CurrentEnrolledPosition(): Fraction
  • set CurrentEnrolledPosition(value: Fraction): void

DefaultStartTempoInBpm

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

DrawErroneousMeasures

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

DynListStaves

Errors

  • get Errors(): object

FirstMeasureNumber

  • get FirstMeasureNumber(): number

FullNameString

  • get FullNameString(): string

HasBeenOpenedForTheFirstTime

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

IdString

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

InstrumentalGroups

Instruments

LastMeasureNumber

  • get LastMeasureNumber(): number

Lyricist

  • get Lyricist(): Label
  • set Lyricist(value: Label): void

LyricistString

  • get LyricistString(): string

MusicPartManager

Path

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

Repetitions

Rules

SelectionEnd

SelectionStart

SheetEndTimestamp

SheetErrors

SheetPlaybackSetting

SourceMeasures

Staves

Subtitle

  • get Subtitle(): Label
  • set Subtitle(value: Label): void

SubtitleString

  • get SubtitleString(): string

TimestampSortedDynamicExpressionsList

TimestampSortedTempoExpressionsList

Title

  • get Title(): Label
  • set Title(value: Label): void

TitleString

  • get TitleString(): string

Transpose

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

Methods

CompareTo

InitializeStartTempoInBPM

  • InitializeStartTempoInBPM(startTempo: number): void

addMeasure

checkForInstrumentWithNoVoice

  • checkForInstrumentWithNoVoice(): void

fillStaffList

  • fillStaffList(): void

findSourceMeasureFromTimeStamp

getCompleteNumberOfStaves

  • getCompleteNumberOfStaves(): number

getEnrolledSelectionStartTimeStampWorkaround

  • getEnrolledSelectionStartTimeStampWorkaround(): Fraction

getFirstSourceMeasure

getGlobalStaffIndexOfFirstStaff

  • getGlobalStaffIndexOfFirstStaff(instrument: Instrument): number

getLastSourceMeasure

getListOfMeasuresFromIndeces

  • getListOfMeasuresFromIndeces(start: number, end: number): SourceMeasure[]

getMusicSheetInstrumentIndex

  • getMusicSheetInstrumentIndex(instrument: Instrument): number

getNextSourceMeasure

getRepetitionByIndex

getSourceMeasureFromTimeStamp

getStaffFromIndex

  • getStaffFromIndex(staffIndexInMusicSheet: number): Staff

getVisibleInstruments

resetAllNoteStates

  • resetAllNoteStates(): void

setRepetitionNewUserNumberOfRepetitions

  • setRepetitionNewUserNumberOfRepetitions(index: number, value: number): void

Static getIndexFromStaff

  • getIndexFromStaff(staff: Staff): number

Generated using TypeDoc