[wav] Module Configuration

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

Input and Output

Mode Input Output Description
MONO   a Reads a mono media file.
STEREO   l, r Reads a stereo media file.
MONO_WRITE a   Writes a mono media file.
MONO_DATA   a Reads in mono audio as a binary data block.
STEREO_DATA   l, r Reads in stereo audio as a binary data block.

Examples:

a <- wav(_, input)
l, r <- wav(_, input)

Parameters

EndTime SugdInputChannels
SampleFrequency SugdInputFrequency
StartTime WavFile*

*You must set the value of this configuration parameter by setting the corresponding action parameter.

Note: If you do not set the File parameter, but you have submitted some binary audio data (POST/Multipart), then the server uses the binary data block as the audio data source. If there is no task data available and you have not set the File parameter, then the server returns an error.


_HP_HTML5_bannerTitle.htm