(type: AutomationType)
| 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)) { |
no outgoing calls
no test coverage detected