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

Method antiresonate

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

Source from the content-addressed store, hash-verified

51/* Output = (mNasalZero.a * input) + (mNasalZero.b * oldin1) + (mNasalZero.c * oldin2) */
52
53float resonator::antiresonate(float input)
54{
55 float x = mA * input + mB * mP1 + mC * mP2;
56 mP2 = mP1;
57 mP1 = input;
58 return x;
59}
60
61resonator::resonator()
62{

Callers 1

parwaveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected