[audio] Module Configuration

The audio module reads mono or stereo media data from a file or stream, and can pass the data to other modules for further processing.

Input and Output

Mode Input Output Description
MONO   a, ts Reads a mono media file, data block, or stream.
STEREO   l, r, ts Reads a stereo media file, data block, or stream.
MONO_WRITE a   Writes a mono media file, data block, or stream.
TIP:

The ts output is optional. This output stream provides additional time-shift information, such as offsets in the audio data because of the StartTime parameter, or missing frames.

Examples:

a, ts <- audio(MONO, input)
l, r, ts  <- audio(STEREO, input)

Parameters

EndTime

File

SampleFrequency

StartTime

StreamMode

SugdInputChannels

SugdInputFrequency

Some of these parameters do not have an internal default value. You must either set the configuration parameter to a suitable value, or set the value in the corresponding action parameter.

NOTE:

If you do not set the File parameter, you must set InputType. You can submit binary audio data (POST/Multipart), in which case the server uses the binary data block as the audio data source, or you can use an audio stream.


_HP_HTML5_bannerTitle.htm