| 57 | } |
| 58 | |
| 59 | void ModWheel::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 60 | { |
| 61 | if (mEnabled) |
| 62 | { |
| 63 | mModulation.GetModWheel(voiceIdx)->AppendTo(modulation.modWheel); |
| 64 | modulation.modWheel = mModulation.GetModWheel(voiceIdx); |
| 65 | } |
| 66 | |
| 67 | PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation); |
| 68 | } |
| 69 | |
| 70 | void ModWheel::OnTransportAdvanced(float amount) |
| 71 | { |
nothing calls this directly
no test coverage detected