| 298 | } |
| 299 | |
| 300 | double ramp() const |
| 301 | { |
| 302 | double _t = t; |
| 303 | _t -= bitwise_or_zero(_t); |
| 304 | |
| 305 | double y = 1 - 2 * _t; |
| 306 | y += blep(_t, freqInSecondsPerSample); |
| 307 | |
| 308 | return amplitude * y; |
| 309 | } |
| 310 | |
| 311 | PolyBLEPType type; |
| 312 |
nothing calls this directly
no test coverage detected