6.7.3 DataLogger

6.7.3.1 Outline of the node

This node provides specific labels to parameters of input and output data as standard outputs or to files.

6.7.3.2 Necessary files

No files are required.

6.7.3.3 Usage

When to use

This node is used to debug nodes or when saving outputs of a node and using them for experiments and analyses.

Typical connection

When outputting features of each sound source in text and analyzing them, connect the node as shown in Figure 6.79.

\includegraphics[]{fig/modules/DataLogger}
Figure 6.79: Connection example of DataLogger 

6.7.3.4 Input-output and property of the node

Table 6.67: Parameter list of DataLogger 

Parameter name

Type

Default value

Unit

Description

LABEL

string 

   

Label be given to output data

Input

INPUT

: any . Note that the supported types are Map<int, float> , Map<int, int> or Map<int, ObjectRef> . ObjectRef of Map<int, ObjectRef> supports only Vector<float> or Vector<complex<float> > .

Output

OUTPUT

: Same as inputs.

Parameter

LABEL

: Specify the character strings to be given to output data so that the user can determine the DataLogger outputs the result when multiple DataLogger s are used.

6.7.3.5 Details of the node

This node provides specific labels to the parameters of input and output data to standard outputs or to les.

This node gives a label specified by LABEL to a input data, and outputs to standard output or to a file. Currently, the node supports Map type whose key is Source ID, which is the most frequently used type.

The output format is: Label Frame-count key1 value1 key2 value2 $\dots$ For each frame, the node outputs one line as the format shown above. Label and Frame-count denote the label specified by LABEL and the index of the frame. keys and values are the same as Map . These values are separated by a space.