C# Class ManagedBass.SampleInfo

Show file Open project: webmaster442/TCPlayer Class Usage Examples

Public Properties

Property Type Description
Channels int
Flags BassFlags
Frequency int
InsideAngle int
Length int
Max int
MaxDistance float
MinDistance float
MinGap int
Mode3D Mode3D
OriginalResolution int
OutsideAngle int
OutsideVolume float
Pan float
Priority int
VAM VAMMode
Volume float

Property Details

Channels public property

Number of channels... 1=mono, 2=stereo (default), etc.
public int Channels
return int

Flags public property

A combination of BassFlags.
public BassFlags Flags
return BassFlags

Frequency public property

Default playback rate (set to 44100 by default).
public int Frequency
return int

InsideAngle public property

The angle of the inside projection cone in degrees... 0 (no cone, default) - 360 (sphere).
public int InsideAngle
return int

Length public property

The Length in bytes.
public int Length
return int

Max public property

Maximum number of simultaneous playbacks (defaulted to 1).
public int Max
return int

MaxDistance public property

The maximum distance (default 0). The sample's volume stops decreasing when the listener is beyond this distance.
public float MaxDistance
return float

MinDistance public property

The minimum distance (default 0). The sample's volume is at maximum when the listener is within this distance.
public float MinDistance
return float

MinGap public property

Minimum time gap in milliseconds between creating channels using Bass.SampleGetChannel. This can be used to prevent flanging effects caused by playing a sample multiple times very close to eachother. The default setting, when loading/creating a sample, is 0 (disabled).
public int MinGap
return int

Mode3D public property

The 3D processing mode...
public Mode3D Mode3D
return Mode3D

OriginalResolution public property

The original resolution (bits per sample)... 0 = undefined (default).
public int OriginalResolution
return int

OutsideAngle public property

The angle of the outside projection cone in degrees... 0 (no cone, default) - 360 (sphere).
public int OutsideAngle
return int

OutsideVolume public property

The delta-volume outside the outer projection cone... 0 (silent) to 1 (full, default) - same as inside the cone.
public float OutsideVolume
return float

Pan public property

Default panning position -1 (full left) to +1 (full right) - defaulted to 0 = centre.
public float Pan
return float

Priority public property

Priority, used with the VAMMode.TerminatePriority flag... 0 (min, default) - 0xFFFFFFFF (max)
public int Priority
return int

VAM public property

The sample's DX7 voice allocation/management settings (if VAM is enabled)...a combination of VAMMode flags.
public VAMMode VAM
return VAMMode

Volume public property

Default volume... 0 (silent) to 1 (full, default).
public float Volume
return float