Gets or sets the media's volume.

<object Volume="Double"  .../>
value = object.Volume
object.Volume = value

Type: Double

The media's volume, as represented on a linear scale between 0 and 1.

This property is read/write. The default value is 0.5.

Volume can be difficult to quantify because each media file has a different baseline for its recorded or perceived audio level. Also, true audio volume, as represented on the decibel scale, is inherently logarithmic. You can think of the Volume property as representing the position of an audio mixer slider control, with 0 being all the way down and 1 being all the way up.

Community Additions