| 161 | } |
| 162 | |
| 163 | void UnstablePressure::FillModulationBuffer(double time, int voiceIdx) |
| 164 | { |
| 165 | for (int i = 0; i < gBufferSize; ++i) |
| 166 | gWorkBuffer[i] = ofMap(mPerlin.GetValue(time + i * gInvSampleRateMs, (time + i * gInvSampleRateMs) / 1000, voiceIdx), 0, 1, 0, mPerlin.mPerlinAmount); |
| 167 | |
| 168 | mModulation.GetPressure(voiceIdx)->FillBuffer(gWorkBuffer); |
| 169 | } |
| 170 | |
| 171 | void UnstablePressure::FloatSliderUpdated(FloatSlider* slider, float oldVal, double time) |
| 172 | { |
nothing calls this directly
no test coverage detected