Node storing a 2dim float signal beeing read in from a file
Common data access methods:
Node storing a 2dim float signal beeing read in from a file. Time axis is sampled regularly. 2nd dimension is non-regular sampled, but the same for all points in time.If field <filename> is not empty file with filename taken from field <filename> is read in on construction time (better on first traversal! Future work). Otherwise it habits exactly like its parent class tsData1RFloat. Node's signal data in field <data> is NOT saved when scene graph is written to a file, until field is touched once. Field content is assumed to be the dafault value for this field. Touching this field, deletes his default status and makes it beeing written as a normal Inventor node.The following file formats are detected:
Grid format format: Private hack to store spectral data of the wavelet analysis system from Daniel D.P.W. Ellis (filename postfix: ".grid"). See cqt3 and aqt2gridcompl for generating and converting this file format.
MATLAB: Matlab ASCII files representing a two-dimensional vector of values (converted to float). Reads data from first matrix in file. Field "Interval" is expected in trivial matrix named "Interval". Sample frequency is expected in trivial matrix named "SampleFreq". Default is 44.1 KHz.
Future work: SDIF: CNMAT's Sound Description Interchange Format. (filename postfix: ".sdif")
NO_SCALING: no scaling.
LOG, DB: logarithmic scaling following :flog10(value_f*value_f)
LOG, PITCH: standard pitch scaling, following: flog10(dim2Value/127.09) / flog10(2).
BARK: Bark Scale, dim2Value = 26.81 / (1 + 1960/dim2Value) - 0.53
ERB: Equivalent rectangular Bandwidth, dim2Value = 11.17 * flog((dim2Value + 312) / (dim2Value + 14675)) + 43.0
This page is part of the tsKit's reference manual by Andreas Lücke.
Back to tsKit-Home
generated by doc++