Can someone explain this short paragraph concerning wave file analysis (what exactly is the input and output?):

The default input to this program is a text file containing a uniformly sampled
time series, presented as a column of numbers. The default standard output is
the magnitude of the discrete Fourier transform of the input series, normalized
by the length of the FFT.

(If you want to see the code: http://www.physionet.org/physiotools/wfdb/psd/fft.c)

Recommended Answers

All 2 Replies

The input is just a file containing one floating point number on each line.
The output is the DFT of each value, normalised by the length of the input, i.e., the value calculated for each individual input will be different depending on the total number of inputs.

Great! Thank you :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.