The wav
module is deprecated in IDOL Speech Server version 11.5 and later. Use the audio
module instead (see [audio] Module Configuration)
This module is still available for existing implementations, but it might be incompatible with new functionality. The module might be deleted in future.
The wav
module reads mono or stereo media data from file, and can pass the data to other modules for further processing.
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)
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.
If you do not set the WavFile 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 WavFile parameter, then the server returns an error.
|