locked
Whats UCMA 3.0 Voicexml Browser default audio format? RRS feed

  • Question

  • Currently, I am developing a ucma 3.0 vxml application. The following is some code in the VoiceXml document.

    <form>
    
         <record  name="msg" beep="true" maxtime="10s"  dtmfterm="true" type="audio/x-wav">
           <prompt timeout="5s">
             Record a message after the beep.
           </prompt>
           <noinput>
             I didn't hear anything, please try again.
           </noinput>
         </record>
    
      <block>
        <submit next="http://SomeServer//SomePage.aspx"  enctype="multipart/form-data" method="post" namelist="msg"/>
      </block>     
    
    </form>

    At SomeServer/SomePage.aspx , save the posted recording to a wav file.

    whats the format of the saved wav file, 8KHz/8-bit or 8KHz/16-bit or 16KHz/16-bit? Can I set or change the audio format of the ucma vxml Browser to generate audio with different format?

    Friday, September 21, 2012 9:47 AM

Answers

All replies

  • Friday, September 21, 2012 12:35 PM
  • Thanks. Thats about audion element.

    Voicexml specification 2.0 requires that all platforms must support the playing and recording audio formats specified below:

    • Raw (headerless) 8kHz 8-bit mono mu-law [PCM] single channel. (G.711) -- audio/basic (from [RFC1521])
    • Raw (headerless) 8kHz 8 bit mono A-law [PCM] single channel. (G.711) -- audio/x-alaw-basic
    • WAV (RIFF header) 8kHz 8-bit mono mu-law [PCM] single channel. -- audio/x-wav
    • WAV (RIFF header) 8kHz 8-bit mono A-law [PCM] single channel. -- audio/x-wav

    I need to get 16KHz 16-bit mono pcm recording? Is this possible?(UCMA 3.0 VoiceXml application)

    As I know, some other platforms support 8KHz, 16-bit audio. 


    • Edited by Jrjack Sunday, September 23, 2012 5:07 AM
    Sunday, September 23, 2012 5:02 AM
  • Hi,

    You will get more help if you post your question in the following forum: http://social.msdn.microsoft.com/Forums/pl-PL/category/lync.

    • Marked as answer by Jrjack Tuesday, March 19, 2013 1:19 PM
    Monday, September 24, 2012 9:04 AM