| 118 | } |
| 119 | |
| 120 | void RingModulator::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 121 | { |
| 122 | if (velocity > 0) |
| 123 | { |
| 124 | float freq = TheScale->PitchToFreq(pitch); |
| 125 | mFreqRamp.Start(time, freq, time + mGlideTime); |
| 126 | mFreq = freq; |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | void RingModulator::ButtonClicked(ClickButton* button, double time) |
| 131 | { |
nothing calls this directly
no test coverage detected