| 843 | } |
| 844 | |
| 845 | void ScriptModule::SendNoteToIndex(int index, double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 846 | { |
| 847 | if (index == 0) |
| 848 | { |
| 849 | PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation, true); |
| 850 | return; |
| 851 | } |
| 852 | |
| 853 | if (index - 1 < (int)mExtraNoteOutputs.size()) |
| 854 | { |
| 855 | mExtraNoteOutputs[index - 1]->PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation, true); |
| 856 | } |
| 857 | } |
| 858 | |
| 859 | void ScriptModule::SetNumNoteOutputs(int num) |
| 860 | { |
nothing calls this directly
no test coverage detected