| 287 | } |
| 288 | |
| 289 | double saw() const |
| 290 | { |
| 291 | double _t = t + 0.5; |
| 292 | _t -= bitwise_or_zero(_t); |
| 293 | |
| 294 | double y = 2 * _t - 1; |
| 295 | y -= blep(_t, freqInSecondsPerSample); |
| 296 | |
| 297 | return amplitude * y; |
| 298 | } |
| 299 | |
| 300 | double ramp() const |
| 301 | { |
nothing calls this directly
no test coverage detected