(note: Note)
| 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++) { |
no test coverage detected