BASS.NET API for the Un4seen BASS Audio LibraryWaveFormWaveBuffermarker FieldBASS.NET API for the Un4seen BASS Audio Library
List of optional markers within the WaveForm (or , if no markers are defined).

Key (string) = Name of the marker, Value (long) = Position of the marker (in bytes of the rendering resolution).

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version:

public Dictionary<string, long> marker

Field Value

Type: DictionaryString, Int64

Markers might be used to highlight certain positions within a WaveForm, e.g. Cue-, Ramp-, Fade- or Mix-Points.

Use the DrawMarker property to define if and how markers should be drawn within the WaveForm. The ColorMarker property will be used as the the drawing color.

Markers can be get, set or removed by using the GetMarker(String), AddMarker(String, Int64), RemoveMarker(String) or ClearAllMarker methods.

Note: When using the AddMarker(String, Int64) method the position (in byte) will be converted to the original rendering resolution. And when using the GetMarker(String) method the position will automatically be converted according to the SyncPlayback(Int32) stream. However, if you try to access this member directly keep in mind, that marker positions should be according to it's original rendering resolution!

See Also