Share via


MidiSynthesizer.Volume Property

Definition

Gets or sets the output volume of this instance of the Microsoft MIDI synthesizer.

public:
 property double Volume { double get(); void set(double value); };
double Volume();

void Volume(double value);
public double Volume { get; set; }
var double = midiSynthesizer.volume;
midiSynthesizer.volume = double;
Public Property Volume As Double

Property Value

Double

double

The synthesizer's output volume, a number between 0 and 1, inclusive.

Applies to