MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / rectificationProcess

Function rectificationProcess

Source/DSP/ClippingFunctions.h:165–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163
164template<typename T>
165T rectificationProcess (T x, T rectification) noexcept
166{
167 if (x < 0)
168 {
169 x *= (0.5f - rectification) * 2.0f;
170 }
171 return x;
172}
173
174}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected