Open postcode-x opened 1 week ago
These modifications allow the IR data to be loaded from memory, enabling it to be embedded in the application and loaded at runtime instead of from a file.
Example:
Assuming you have the following:
unsigned char IRData[72080] = { 0x52, 0x49, 0x46, 0x46, ... };
You can now load it directly using:
std::make_unique<dsp::ImpulseResponse>(IRData, sizeof(IRData), sampleRate);
These modifications allow the IR data to be loaded from memory, enabling it to be embedded in the application and loaded at runtime instead of from a file.
Example:
Assuming you have the following:
You can now load it directly using:
std::make_unique<dsp::ImpulseResponse>(IRData, sizeof(IRData), sampleRate);