| 63 | } |
| 64 | |
| 65 | void PitchBender::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 66 | { |
| 67 | if (mEnabled) |
| 68 | { |
| 69 | mModulation.GetPitchBend(voiceIdx)->AppendTo(modulation.pitchBend); |
| 70 | modulation.pitchBend = mModulation.GetPitchBend(voiceIdx); |
| 71 | } |
| 72 | |
| 73 | PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation); |
| 74 | } |
| 75 | |
| 76 | void PitchBender::OnTransportAdvanced(float amount) |
| 77 | { |
nothing calls this directly
no test coverage detected