on-internet
← Community

Math.NET Fourier does not work as expected

Stack Overflow ·

I have been trying to find a solution for some weeks now, and I have read all the threads related to this topic, so I hope someone can help me out with this. I want to use a wave file as input, apply a Fourier transform to it, and take these values to compare them to another file and get the difference. The challenge I've been working on for so long is to get that Fourier transform to work. Instead of giving me reasonable results, I only get NaN values. I have the following code: public FFTPerformer(float[] soundvalues) { buffer = new System.Numerics.Complex[4096]; try { for (int i = 0; i < 40

Comments

Sign in or sign up to comment and upvote.

No comments yet.