MCPcopy Create free account
hub / github.com/VCVRack/Befaco / initIR

Function initIR

src/SpringReverb.cpp:6–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4static std::vector<uint8_t> ir;
5
6static void initIR() {
7 if (!ir.empty())
8 return;
9
10 try {
11 ir = system::readFile(asset::plugin(pluginInstance, "res/SpringReverbIR.f32"));
12 }
13 catch (std::exception& e) {
14 WARN("Cannot load IR: %s", e.what());
15 }
16}
17
18static const size_t BLOCK_SIZE = 1024;
19

Callers 1

SpringReverbMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected