I tried the IPlugConvoEngine example, but unfortunately I can’t understand how to make IR from the amplitude-frequency characteristic.
How can I get IR from an array of values of frequencies and amplitudes, for example:
struct TAmpFreq
{
double Amplitude;
double Frequency;
};
WDL_PtrList<TAmpFreq> AmpFreq; // List of frequencies and amplitudes
float* GetIR(int &IrLength)
{
/*
How to implement this function so that it returns pointer to IR?
*/
}
there is no IPlugConvoEngine example in iplug2
There are no useful examples in IPlug2 that demonstrate the operation of the various libraries included in the package.
Files convoengine.h and convoengine.cpp are included in the package and I did not find any documentation for their use, just an example in the old IPlug.
Can I see convoengine documentation anywhere?
that is part of WDL, ask on the WDL forum
but what your asking doesn’t really seem to have much to do with the convoengine, you need to use the inverse fourier transform to synthesise an IR. That’s a generic DSP topic