Quote:
Originally Posted by klaus
the amplitude because in frequency analysis that's what the user is the most intersted in, the phase is not that impotant.
|
I kept the conversion as individual ones for that reason so as to keep things quick.
Quote:
|
I was thinking about getting Amplitude and Phase directly in return from Fft.Transform ... This would avoid needing to calculate it afterwords.
|
It needs to be calculated separately anyway as the algorithm produces Sine and Cosine. As the overhead of doing them in the Basic4ppc code rather than automatically in the library is very small, only that of a single call to the library and as only Amplitude is interesting a lot of the time I didn't incoporate it into the actual Transform. Also having Real and Imaginary available lets you see what is going on if you need to.
Quote:
|
I have seen that Fft, the name of the FFT object, is highlighted in green in the IDE
|
I've no idea why the IDE thinks that FFT is a keyword, it doesn't highlight other library objects, although I have suggested to Erel that it should but he wasn't keen on the idea.
Here's the next version of the library with the five methods above added.