BASS.NET API for the Un4seen BASS Audio LibraryVisuals MethodsBASS.NET API for the Un4seen BASS Audio Library

The Visuals type exposes the following members.

Methods

  NameDescription
Public methodClearPeaks
Clears all last peak values. This is needed, if you changed from one peak spectrum to another or if you change a channel, to make sure no old history data is present.
Public methodCreateSpectrum(Int32, Graphics, Rectangle, Color, Color, Color, Boolean, Boolean, Boolean)
Draws the spectrum graph directly on the provided GDI+ graphics.
Public methodCode exampleCreateSpectrum(Int32, Int32, Int32, Color, Color, Color, Boolean, Boolean, Boolean)
Creates a bitmap representing a FFT spectrum graph.
Public methodCreateSpectrum3DVoicePrint
Draws one line of a 3D voice print spectrum at the given position.

horizontal=time, vertical=frequency, color=amplitude

Public methodCreateSpectrumBean(Int32, Graphics, Rectangle, Color, Color, Color, Int32, Boolean, Boolean, Boolean)
Draws the spectrum dancing beans graph directly on the provided GDI+ graphics.
Public methodCreateSpectrumBean(Int32, Int32, Int32, Color, Color, Color, Int32, Boolean, Boolean, Boolean)
Creates a bitmap representing a FFT spectrum dancing beans graph.
Public methodCreateSpectrumDot(Int32, Graphics, Rectangle, Color, Color, Color, Int32, Int32, Boolean, Boolean, Boolean)
Draws the spectrum line graph directly on the provided GDI+ graphics.
Public methodCreateSpectrumDot(Int32, Int32, Int32, Color, Color, Color, Int32, Int32, Boolean, Boolean, Boolean)
Creates a bitmap representing a FFT spectrum dot graph.
Public methodCreateSpectrumEllipse(Int32, Graphics, Rectangle, Color, Color, Color, Int32, Int32, Boolean, Boolean, Boolean)
Draws the spectrum ellipse graph directly on the provided GDI+ graphics.
Public methodCreateSpectrumEllipse(Int32, Int32, Int32, Color, Color, Color, Int32, Int32, Boolean, Boolean, Boolean)
Creates a bitmap representing a FFT spectrum ellipse graph.
Public methodCreateSpectrumLine(Int32, Graphics, Rectangle, Color, Color, Color, Int32, Int32, Boolean, Boolean, Boolean)
Draws the spectrum line graph directly on the provided GDI+ graphics.
Public methodCreateSpectrumLine(Int32, Int32, Int32, Color, Color, Color, Int32, Int32, Boolean, Boolean, Boolean)
Creates a bitmap representing a FFT spectrum line graph.
Public methodCreateSpectrumLinePeak(Int32, Graphics, Rectangle, Color, Color, Color, Color, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean)
Draws the spectrum line graph with peak hold directly on the provided GDI+ graphics.
Public methodCreateSpectrumLinePeak(Int32, Int32, Int32, Color, Color, Color, Color, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean)
Creates a bitmap representing a FFT spectrum line graph with peak hold.
Public methodCreateSpectrumText(Int32, Graphics, Rectangle, Color, Color, Color, String, Boolean, Boolean, Boolean)
Draws the spectrum dancing text graph directly on the provided GDI+ graphics.
Public methodCreateSpectrumText(Int32, Int32, Int32, Color, Color, Color, String, Boolean, Boolean, Boolean)
Creates a bitmap representing a FFT spectrum dancing text graph.
Public methodCreateSpectrumWave(Int32, Graphics, Rectangle, Color, Color, Color, Int32, Boolean, Boolean, Boolean)
Draws the spectrum wave graph directly on the provided GDI+ graphics.
Public methodCreateSpectrumWave(Int32, Int32, Int32, Color, Color, Color, Int32, Boolean, Boolean, Boolean)
Creates a bitmap representing a FFT spectrum wave graph.
Public methodCreateWaveForm(Int32, Graphics, Rectangle, Color, Color, Color, Color, Int32, Boolean, Boolean, Boolean)
Draws the sample data wave form graph directly on the provided GDI+ graphics.
Public methodCreateWaveForm(Int32, Int32, Int32, Color, Color, Color, Color, Int32, Boolean, Boolean, Boolean)
Creates a bitmap representing a sample data wave form graph.
Public methodDetectFrequency
Gets the interpolated amplification value for a given frequency band.
Public methodDetectPeakFrequency
Returns the frequency (in Hz) containing the maximum energy within the current FFT data when calling this method.
Public methodCode exampleGetAmplitudeFromPosY
Returns the amplitude (power) as a float value which is represented by the given Y coordinate position of a visual control.
Public methodCode exampleGetFrequencyFromPosX
Returns the frequency in Hz represented by the given X coordinate position of a visual control.
Top
See Also

Reference