Skip to content

Conversation

@postcode-x
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant