[Voiceglue] Record Format - ulaw

Doug Campbell voiceglue at campbellcastle.com
Tue May 4 03:28:04 UTC 2010


> Using the VoiceXML record tag, my sound files are returned as a 
> datestamp.ulaw format.  I am trying to return these files as a wav or 
> mp3 format.

Voiceglue only records in 8kHz mono ulaw (a.k.a. G7.11) (a.k.a.
audio/basic).  The VXML spec says that all implementations should
also support alaw 8kHz mono, and be able to put a RIFF header on
either of those.  So, voiceglue isn't compliant in that sense.

However, mp3 is not in the spec and not supported, and "wav" format
is not well defined as there are a range of sample sizes and rates
that are supported by a "wav" file.

If you want the recorded audio to be in some particular format that
isn't audio/basic, my recommendation is to transcode it yourself
using something like sox.  (That's what voiceglue would do anyway
to support such a thing).

Doug Campbell


More information about the Voiceglue mailing list