normalizeaudio

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

<?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>

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

Last updated