Engee documentation

To Multimedia File

Streaming audio to a multimedia file.

blockType: To Multimedia File

Path in the library:

/Signal Operations/Sinks/To Multimedia File

Description

The To Multimedia File unit records audio samples to a multimedia (.wav) file.

Ports

Input

# Audio — incoming audio file
scalar | vector | matrix M over N

Details

The input signal is interpreted as a matrix by , where M is the number of samples and is the number of channels. That is, a scalar signal will be considered a single channel signal with the number of samples equal to 1 and a vector will be considered a single channel signal with the number of samples equal to the length of the vector.

Data types

Float64.

Complex numbers support

No

Parameters

Main

# File name — media file name

Details

Specify the name of the media file as a vector of characters.

It is allowed to specify both absolute path to the file (starts with /user) and relative path. The relative path is defined from the current directory (pwd).

It is also possible to specify only the file name. In this case Engee will search for a file with this name first in the relative path (i.e. in the current directory) and then in the search paths: Engee path editor.

Default value

/user/output.wav

Program usage name

outputFilename

Tunable

No

Evaluatable

Yes

# Audio output data type — audio output data type
Determine from input data type | 8-bit integer | 16-bit integer | 24-bit integer | 32-bit integer | 32-bit float | 64-bit float

Details

Specify the data type for audio data input through the Audio port.

Values

Determine from input data type | 8-bit integer | 16-bit integer | 24-bit integer | 32-bit integer | 32-bit float | 64-bit float

Default value

16-bit integer

Program usage name

audioDatatype

Tunable

No

Evaluatable

No