BASS.NET API for the Un4seen BASS Audio LibraryVisualsCreateWaveForm Method (Int32, Int32, Int32, Color, Color, Color, Color, Int32, Boolean, Boolean, Boolean)BASS.NET API for the Un4seen BASS Audio Library
Creates a bitmap representing a sample data wave form graph.

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

public Bitmap CreateWaveForm(
	int channel,
	int width,
	int height,
	Color color1,
	Color color2,
	Color color3,
	Color background,
	int linewidth,
	bool fullSpectrum,
	bool mono,
	bool highQuality
)

Parameters

channel
Type: SystemInt32
The channel for which to create the spectrum graph.
width
Type: SystemInt32
The width (in pixel) of the image to create.
height
Type: SystemInt32
The height (in pixel) of the image to create.
color1
Type: System.DrawingColor
The left signal color for the sample data.
color2
Type: System.DrawingColor
The right signal color for the sample data.
color3
Type: System.DrawingColor
The median color (null line).
background
Type: System.DrawingColor
The background color to be used when drawing the image.
linewidth
Type: SystemInt32
The thickness of the line (in pixel).
fullSpectrum
Type: SystemBoolean
, if the full frequency spectrum should be shown (across the whole width of the image). , if the width of the image should be use (in this case as much frequencies are shown - starting with the lower values - as fit into the width).
mono
Type: SystemBoolean
, if a mono signal show be used (else a stereo signal is being used).
highQuality
Type: SystemBoolean
, if anti alias should be used when drawing. will draw in high speed mode.

Return Value

Type: Bitmap
The created bitmap image representing the spectrum.
See Also

Reference