TFileFormat Enumeration

Header: Dew.Signal/FileSignal.h · Cross-compiler

enum class TFileFormat : unsigned int;

Specifies file formats supported.

File formats supported by TSignalWrite and TSignalWrite components.

Values

NameDescription
ffAscA two column text file, first column is the time axis and the second column is the amplitude. The second column can hold complex numbers.
ffBinBackward compatibility. Replaced by the ffDat format.
ffDatMulti record binary file. The header contains 32bit unsigned - sample count in the data section 64bit float - Sampling frequency 32bit signed int - Precision (TPrecision) 32bit signed int - Complex (bool) 32bit signed int - ChannelCount Header is followed by data. Each data section can again be followed by a header.
ffDblBackward compatibility. Replaced by the ffDat format.
ffDbnBackward compatibility. Replaced by the ffDat format.
ffPCMHeaderless binary file format.
ffRawHeaderless binary file format.
ffSfsSingle record text file. First line denotes number of entries. Second line is the the total time of sampling and the third line is empty. All the samples follow, each in its own line. Samples can be complex.
ffSglMulti record text file. First line denotes number of entries. Second line is the total time of sampling and the third line containes the samples separated with ";". The samples can be complex. The fourth line is empty. This four lines can repeate any number of times within the file.
ffTxtHeaderless text file format. Each column represents one chanel. The numbers can be complex.
ffWavWindows OS uncompressed PCM wav file.