MCPcopy Create free account
hub / github.com/LabSound/LabSound / saw

Method saw

src/extended/PolyBLEPNode.cpp:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

bitwise_or_zeroFunction · 0.85
blepFunction · 0.85

Tested by

no test coverage detected