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

Method ramp

src/extended/PolyBLEPNode.cpp:300–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

bitwise_or_zeroFunction · 0.85
blepFunction · 0.85

Tested by

no test coverage detected