Specifies the portions of content to be encoded as music by the voice codec.

Constant for IPropertyBag


Data Type


Default Value

No default value. If this property is not set, the codec will use the value of the MFPKEY_WMAVOICE_ENC_MusicSpeechClassMode property to determine how to encode the content.


You can use this property if the automatic mode of the codec is not giving satisfactory results.

This value is a comma-delimited string containing at least four integers. The first integer is the version number; always use 1 for this value. The second integer is the number of sections that need to be encoded as music. Following the second integer are a number of pairs of values representing ranges in milliseconds, one pair for each section of content that needs to be encoded as music.

For example, "1,2,100,200,500,600" informs the encoder to use version 1 with 2 sections of music. The first music section starts at 100 ms and ends at 200 ms. The second music section starts at 500 ms and ends at 600 ms.


Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003



See Also




Send comments about this topic to Microsoft

Build date: 4/7/2010