Page 1 of 1

Record file types

Posted: Fri Feb 22, 2008 11:56 am
by dwaynemcgee
I'm using the Record tag to record. What are the different options on the Type attribute and what is the corresponding audio file type that will be produced?

I would like to get a signed, 16 bit mono .wav file. I know I can use the SOX utility, but am checking to see whether or not I can record the file in the correct format without having to convert it.

Any assistance would be greatly appreciated.

Dwayne

Three IVR options for the <record> tag's "type&am

Posted: Fri Feb 22, 2008 1:51 pm
by support
Hi,

There are three IVR options for the <record> tag's "type" attribute. These types are:

"audio/basic" = 8 kHz 8-bit µ-law encoded headerless (*.ul)
"audio/x-alaw-basic" = 8 kHz 8-bit a-law encoded headerless (*.al)
"audio/x-wav" = 8 kHz 8-bit µ-law WAV (*.wav)

So, you would have to use the SOX utility to get a signed 16-bit mono .wav file.

Hope this helps.

Regards,
Plum Support