MCPcopy Create free account
hub / github.com/GuitarML/NeuralPi / resetSampleRate

Method resetSampleRate

Source/Eq4Band.cpp:63–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void Eq4Band::resetSampleRate()
64{
65 xHI = exp(-2.0 * pi * treble_frequency / srate);
66 a0HI = 1.0 - xHI;
67 b1HI = -xHI;
68
69 xMID = exp(-2.0 * pi * mid_frequency / srate);
70 a0MID = 1.0 - xMID;
71 b1MID = -xMID;
72
73 xLOW = exp(-2.0 * pi * bass_frequency / srate);
74 a0LOW = 1.0 - xLOW;
75 b1LOW = -xLOW;
76}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected