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

Method removeNote

packages/alphatab/src/model/Beat.ts:817–825  ·  view source on GitHub ↗
(note: Note)

Source from the content-addressed store, hash-verified

815 }
816
817 public removeNote(note: Note): void {
818 const index: number = this.notes.indexOf(note);
819 if (index >= 0) {
820 this.notes.splice(index, 1);
821 if (note.isStringed) {
822 this.noteStringLookup.delete(note.string);
823 }
824 }
825 }
826
827 public getAutomation(type: AutomationType): Automation | null {
828 for (let i: number = 0, j: number = this.automations.length; i < j; i++) {

Callers 2

Beat.test.tsFile · 0.80
applyBeatPropertyMethod · 0.80

Calls 3

indexOfMethod · 0.45
spliceMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected