AudioDSPTools
AudioDSPTools copied to clipboard
Enable Direct Loading of Raw IR Data from Memory
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);