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:
Code:
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?
*/
}