MCPcopy Create free account
hub / github.com/Signalsmith-Audio/reverb-example-code / process

Method process

reverb-example-code.h:62–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 Array process(Array input) {
63 Array delayed;
64 for (int c = 0; c < channels; ++c) {
65 delayed[c] = delays[c].read(delaySamples[c]);
66 }
67
68 for (int c = 0; c < channels; ++c) {
69 double sum = input[c] + delayed[c]*decayGain;
70 delays[c].write(sum);
71 }
72
73 return delayed;
74 }
75};
76
77template<int channels=8>

Callers

nothing calls this directly

Calls 2

readMethod · 0.80
writeMethod · 0.80

Tested by

no test coverage detected