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

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.

Jump to Post

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 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.