BASS.NET API for the Un4seen BASS Audio Library

BassWasapiHandlerPan Property

BASS.NET API for the Un4seen BASS Audio Library
Gets or Sets the panning of the channels between -1 (left) to +1 (right), 0=centered.

Namespace:  Un4seen.BassWasapi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public float Pan { get; set; }

Property Value

Type: Single
Remarks

Setting the panning uses the Volume property in order to calculate the individual channel volume. E.g. if you set the panning to -0.7 at a volume of 1.0: chan1-volume (left) = 0.3, chan2-volume (right) = 1.0.

The panning value ranges from -1 (left) to 0 (center) to +1 (right).

In case of multi-channel (not stereo, NumChans is greater than 2) the left/right positions are interleaved between the additional channels.

See Also

Reference