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:55

>>5
You won't understand the mathematics behind the Fourier transform just because you badly translated an opaque formula to C. Similarly, the only thing you will get if you make an OS from scratch without any prior knowledge is a badly written OS. It's a godawful way to learn, and if you think about it this should be obvious: You deliberately ignored everything the people before you painfully figured out over decades.

If you want to learn how to make an OS, read a simple OS like Xv6.
If you want to learn how Fourier transforms work, get a book on complex analysis.
If you want to fuck around with sound files, just use a library that implements the transform for you; every major numerics library should have one.

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