| 80 | } |
| 81 | |
| 82 | void FreqDelay::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 83 | { |
| 84 | if (velocity > 0) |
| 85 | { |
| 86 | float freq = TheScale->PitchToFreq(pitch); |
| 87 | float ms = 1000 / freq; |
| 88 | mDelayEffect.SetDelay(ms); |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | void FreqDelay::DrawModule() |
| 93 | { |
nothing calls this directly
no test coverage detected