Input length must be an even power of 2
Closed this issue · 2 comments
HamidLaktarash commented
I have real audio signal wave in form of double[]. it's length isn't power of 2. what should I do?
swharden commented
Hi @HamidLaktarash,
There's a helper function that can pad an array with zeros and always return one that is an even power of 2
double[] padded = FftSharp.Pad.ZeroPad(input);