Plum DEV Documentation
voicexml:properties:normalizeaudio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

voicexml:properties:normalizeaudio [2014/07/10 17:09]
admin created
voicexml:properties:normalizeaudio [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​normalizeaudio VoiceXML property | normalizeaudio enables or disables normalization of recordings.}} 
-=====normalizeaudio===== 
-**Default Value:** true 
- 
-The normalizeaudio property, when enabled, attempts to normalize a recording or utterance by boosting the gain of the audio to bring the average or peak amplitude to a target level (norm). 
- 
-====Example==== 
-<​code>​ 
-<?xml version="​1.0"?>​ 
-<vxml version="​2.0">​ 
-  <​form>​ 
-    <!-- TURN OFF AUDIO NORMALIZATION --> 
-    <​property name="​normalizeaudio"​ value="​false"/>​ 
-    <record name="​response">​ 
-      <​prompt>​ 
-        Say something. 
-      </​prompt>​ 
-      <​filled>​ 
-        <​prompt>​ 
-          You recorded: <value expr="​response"/>​ 
-        </​prompt>​ 
- <​exit/>​ 
-      </​filled>​ 
-    </​record>​ 
-  </​form>​ 
-</​vxml>​ 
-</​code>​ 
- 
-====Explanation==== 
-From this example, "​normalizeaudio"​ is set to false, which disables normalization. ​ 
-You should notice that the recording played back should be significantly quieter than regular, noramlized audio. The same applies if you were to save the recording to an audio file. A noramlized audio file will appear to be much louder than an audio file that has not been normalized. 
-====Notes==== 
- 
-None 
-