Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How to Fourier Transform?

Name: Anonymous 2017-06-04 17:29

So how does one break a windows wav file into the component sine waves, together with phase and amplitude? People say one has to use DFT, but wikipedia article on DFT contains just some opaque formula, containing e with a complex superscript. How can it be used to produce C/C++-compilar uint32_t array of sine-wave frequencies? C/C++'s exp() cant even exponentiate e to a complex number.

Name: Anonymous 2017-06-04 20:43

>>4

You can implement a complex exponential in three lines
That is a bad excuse for library functions to not support complex numbers.

why do you want to write a DFT yourself if you don't know the basics of complex numbers?
To learn how stuff works of course. Same way writing your own OS is the best way to learn how operating systems work.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List