| 75 | } |
| 76 | |
| 77 | void NoteExpressionRouter::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 78 | { |
| 79 | mSTNote = pitch; |
| 80 | mSTVelocity = velocity; |
| 81 | for (auto i = 0; i < kMaxDestinations; ++i) |
| 82 | { |
| 83 | auto rt = mExpressions[i].value(); |
| 84 | if (rt != 0) |
| 85 | { |
| 86 | mDestinationCables[i]->PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation); |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | void NoteExpressionRouter::SendCC(int control, int value, int voiceIdx) |
| 92 | { |
nothing calls this directly
no test coverage detected