MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / finish

Method finish

packages/alphatab/src/model/Track.ts:161–174  ·  view source on GitHub ↗
(settings: Settings, sharedDataBag: Map<string, unknown> | null = null)

Source from the content-addressed store, hash-verified

159 }
160
161 public finish(settings: Settings, sharedDataBag: Map<string, unknown> | null = null): void {
162 if (!this.shortName) {
163 this.shortName = this.name;
164 if (this.shortName.length > Track._shortNameMaxLength) {
165 this.shortName = this.shortName.substr(0, Track._shortNameMaxLength);
166 }
167 }
168 for(const s of this.staves){
169 s.finish(settings, sharedDataBag);
170 if(s.isPercussion){
171 this.playbackInfo.program = 0;
172 }
173 }
174 }
175
176 public applyLyrics(lyrics: Lyrics[]): void {
177 for (const lyric of lyrics) {

Callers 1

applyLyricsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected