MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / processAllpassImpl

Function processAllpassImpl

src/core/ClientReverb.cpp:231–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229// Process one sample through a Schroeder allpass. Feedback fixed at 0.5.
230template <typename ApT>
231inline float processAllpassImpl(ApT& a, float in, int activeLen)
232{
233 const float bufOut = a.buffer[a.index];
234 const float out = -in + bufOut;
235 a.buffer[a.index] = in + bufOut * 0.5f;
236 a.index = (a.index + 1) % activeLen;
237 return out;
238}
239
240} // namespace
241

Callers 1

processMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected