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

Method getAutomation

packages/alphatab/src/model/Beat.ts:827–835  ·  view source on GitHub ↗
(type: AutomationType)

Source from the content-addressed store, hash-verified

825 }
826
827 public getAutomation(type: AutomationType): Automation | null {
828 for (let i: number = 0, j: number = this.automations.length; i < j; i++) {
829 const automation: Automation = this.automations[i];
830 if (automation.type === type) {
831 return automation;
832 }
833 }
834 return null;
835 }
836
837 public getNoteOnString(noteString: number): Note | null {
838 if (this.noteStringLookup.has(noteString)) {

Callers 6

finishMethod · 0.95
checkOtherEffectsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected