MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / resonate

Method resonate

extlibs/soloud/src/audiosource/speech/resonator.cpp:38–44  ·  view source on GitHub ↗

Generic resonator function */

Source from the content-addressed store, hash-verified

36
37/* Generic resonator function */
38float resonator::resonate(float input)
39{
40 float x = mA * input + mB * mP1 + mC * mP2;
41 mP2 = mP1;
42 mP1 = x;
43 return x;
44}
45
46/* Generic anti-resonator function
47 Same as resonator except that a,b,c need to be set with initAntiresonator()

Callers 1

parwaveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected