You are here: Symbol Reference > FileSignal Namespace > Structs, Records, Enums > FileSignal.TFileFormat Enumeration
DSP Master VCL
ContentsIndex
PreviousUpNext
FileSignal.TFileFormat Enumeration

Specifies file formats supported.

Pascal
TFileFormat = (
  ffDat,
  ffSgl,
  ffBin,
  ffWav,
  ffSfs,
  ffAsc,
  ffDbn,
  ffDbl,
  ffRaw,
  ffPCM,
  ffTxt
);
Members 
Description 
ffDat 
Multi 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. 
ffSgl 
Multi 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. 
ffBin 
Backward compatibility. Replaced by the ffDat format. 
ffWav 
Windows OS uncompressed PCM wav file. 
ffSfs 
Single 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. 
ffAsc 
A two column text file, first column is the time axis and the second column is the amplitude. The second column can hold complex numbers. 
ffDbn 
Backward compatibility. Replaced by the ffDat format. 
ffDbl 
Backward compatibility. Replaced by the ffDat format. 
ffRaw 
Headerless binary file format. 
ffPCM 
Headerless binary file format. 
ffTxt 
Headerless text file format. Each column represents one chanel. The numbers can be complex. 

File formats supported by TSignalWrite and TSignalWrite components.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!