Windows Media Encoder banner art

Optimizing audio for voice

If you are sourcing from audio that is entirely or primarily voice, you can use the -a_content option and the Windows Media Audio 9 Voice codec to optimize the encoding for voice. You can optimize the codec behavior by identifying if the content is voice only (-a_content 1) or if it also contains some music (-a_content 2). If the audio is a mixture of voice and music, during encoding the codec automatically uses the appropriate algorithm to optimize encoding for the content (voice or music). Or, you can create an optimization definition file (-a_contentedl), which is a text file that identifies the places in your file where music starts and ends. The unspecified portions in the file are treated as voice. In the following example, the audio content is voice only.

cscript.exe wmcmd.vbs –input C:\My-speeches\Myspeech.wav –output C:\My-speeches-coded\Myspeech.wma -a_codec WMSP9 -a_content 1

In the following example, the audio content is a mixture of voice and music, and an optimization definition file has been created.

cscript.exe wmcmd.vbs –input C:\My-speeches\Myspeech.wav –output C:\My-speeches-coded\Myspeech.wma -a_codec WMSP9 -a_content 2 -a_contentedl c:\My-speeches\my_contentedl.txt

Related topics


© 2000-2002 Microsoft Corporation. All rights reserved.