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

Method setDistortion

src/extended/DiodeNode.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void DiodeNode::setDistortion(float distortion)
52{
53 // We increase the distortion by increasing the gradient of the linear portion of the waveshaper's curve.
54 _distortion->setFloat(distortion);
55 _precalc();
56}
57
58void DiodeNode::_precalc()
59{

Callers

nothing calls this directly

Calls 1

setFloatMethod · 0.80

Tested by

no test coverage detected