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

The WaveForm type exposes the following members.

Methods

  NameDescription
Public methodCode exampleAddMarker(String, Double)
Add or replace a marker to the WaveForm.
Public methodCode exampleAddMarker(String, Int64)
Add or replace a marker to the WaveForm.
Public methodAddVolumePoint(Double, Single)
Add or replace a volume point to the WaveForm.
Public methodAddVolumePoint(Int64, Single)
Add or replace a volume point to the WaveForm.
Public methodClearAllMarker
Removes all markers from the WaveForm.
Public methodClearAllVolumePoints
Removes all volume points from the WaveForm.
Public methodClone
Returns a new WaveForm instance which is a clone of the current one.
Public methodCreateBitmap(Graphics, Rectangle, Int32, Int32, Boolean)
Draws the rendered wave form directly on the provided GDI+ graphics.
Public methodCode exampleCreateBitmap(Int32, Int32, Int32, Int32, Boolean)
Creates a bitmap from a rendered wave form.
Public methodDetectNextLevel(Double, Double, Boolean, Boolean)
Finds the next position with a certain volume level.
Public methodDetectNextLevel(Int64, Double, Boolean, Boolean)
Finds the next position with a certain volume level.
Public methodFindNextZeroCrossing
Finds the next zero crossing position related to the given position (forward seeking).
Public methodFindPreviousZeroCrossing
Finds the previous zero crossing position related to the given position (backward seeking).
Public methodFrame2Bytes
Converts a given frame to the position (in bytes).
Public methodFrame2Seconds
Converts a given frame to the position (in seconds).
Public methodCode exampleGetBytePositionFromX
Translates a X coordinate of a drawn WaveForm graphic to the related byte position within the rendered stream.
Public methodCode exampleGetCuePoints(Double, Double, Double)
Determines silence positions at the beginning and end of a rendered wave form.
Public methodCode exampleGetCuePoints(Int64, Int64, Double)
Determines silence positions at the beginning and end of a rendered wave form.
Public methodCode exampleGetCuePoints(Double, Double, Double, Double)
Determines silence positions at the beginning and end of a rendered wave form.
Public methodCode exampleGetCuePoints(Int64, Int64, Double, Double)
Determines silence positions at the beginning and end of a rendered wave form.
Public methodCode exampleGetCuePoints(Double, Double, Double, Double, Boolean)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Double, Double, Double, Int32, Int32)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Int64, Int64, Double, Double, Boolean)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Int64, Int64, Double, Int32, Int32)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Double, Double, Double, Double, Int32, Int32)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Double, Double, Double, Int32, Int32, Boolean)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Int64, Int64, Double, Double, Int32, Int32)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Int64, Int64, Double, Int32, Int32, Boolean)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Double, Double, Double, Double, Int32, Int32, Boolean)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetCuePoints(Int64, Int64, Double, Double, Int32, Int32, Boolean)
Determines silence positions of a rendered wave form within a given range.
Public methodCode exampleGetMarker
Returns a given marker position.
Public methodGetMarkerCount
Returns the number of markers within the wave form.
Public methodGetMarkers
Returns an array of strings containing all marker names.
Public methodCode exampleGetMarkerSec
Returns a given marker position.
Public methodGetNormalizationGain
Determines a gain factor (normalization), so that the maximum peak level of the sample data will be at 0 dB.
Public methodGetVolumeLevel(Double, Boolean, Double, Single)
Returns the volume level at the given position of the volume curve.
Public methodGetVolumeLevel(Int64, Boolean, Int64, Single)
Returns the volume level at the given position of the volume curve.
Public methodGetVolumePoint(Double)
Returns the level of a given volume point.
Public methodGetVolumePoint(Int32)
Returns a certain volume point at the given index.
Public methodGetVolumePoint(Int64)
Returns the level of a given volume point.
Public methodGetVolumePointCount
Returns the number of volume points within the wave form.
Public methodIsZeroCrossingFrame
Detects, if the two given positions reflect a zero crossing.
Public methodPeakLevelOfFrame
Returns the peak level (between 0 and 32767) of a given frame position.
Public methodPosition2Frames(Double)
Converts a given position (in seconds) to the frame number.
Public methodPosition2Frames(Int64)
Converts a given position (in bytes) to the frame number.
Public methodPosition2Playback(Double)
Converts a given rendering position to the playback position according to the SyncFactor.
Public methodPosition2Playback(Int64)
Converts a given rendering position to the playback position according to the SyncFactor.
Public methodPosition2Rendering(Double)
Converts a given playback position to the rendering position according to the SyncFactor.
Public methodPosition2Rendering(Int64)
Converts a given playback position to the rendering position according to the SyncFactor.
Public methodCode exampleRemoveMarker
Removes an existing marker from the WaveForm.
Public methodRemoveVolumePoint(Double)
Removes an existing volume point from the WaveForm.
Public methodRemoveVolumePoint(Int64)
Removes an existing volume point from the WaveForm.
Public methodRemoveVolumePointsBetween(Double, Double)
Removes all volume points between the two given points exclusive.
Public methodRemoveVolumePointsBetween(Int64, Int64)
Removes all volume points between the two given points exclusive.
Public methodCode exampleRenderRecording
Renders live recorded data and generates the WaveForm data for it.
Public methodCode exampleRenderRecording(IntPtr, Int32)
Renders live recorded data and generates the WaveForm data for it.
Public methodRenderStart(Boolean, BASSFlag)
Start the rendering process for the FileName given (peak levels will be scanned).
Public methodRenderStart(Int32, Boolean)
Start the rendering process for the specified decoding stream (peak levels will be scanned).
Public methodRenderStart(Boolean, ThreadPriority, BASSFlag)
Start the rendering process for the FileName given (peak levels will be scanned).
Public methodRenderStart(Int32, Boolean, Boolean)
Start the rendering process for the specified decoding stream (peak levels will be scanned).
Public methodRenderStart(Boolean, BASSFlag, IntPtr, Int64)
Start the rendering process for audio data located at the memory position (peak levels will be scanned). Note: The FileName will be ignored.
Public methodRenderStart(Int32, Boolean, ThreadPriority, Boolean)
Start the rendering process for the specified decoding stream (peak levels will be scanned).
Public methodRenderStartRecording(Int32, Int32, Int32)
Start a live recording rendering process for the specified non-decoding handle (peak levels will not be scanned at this point).
Public methodRenderStartRecording(Int32, Single, Single)
Start a live recording rendering process for the specified stream handle (peak levels will not be scanned at this point).
Public methodRenderStop
Stops a currently running rendering process.
Public methodRenderStopRecording
Stops live recording rendering.
Public methodReset
Resets the wave form.
Public methodCode exampleSearchVolumePoint(Double)
Searches for a certain volume point.
Public methodCode exampleSearchVolumePoint(Int64)
Searches for a certain volume point.
Public methodSearchVolumePoint(Double, WaveFormVolumePoint, WaveFormVolumePoint)
Searches for a certain volume point.
Public methodSearchVolumePoint(Int64, WaveFormVolumePoint, WaveFormVolumePoint)
Searches for a certain volume point.
Public methodSyncPlayback
Sets a playback channel to synchronize the wave form positions.
Public methodWaveFormLoadFromFile(String)
Loads a rendered WaveForm from a file.
Public methodWaveFormLoadFromFile(String, Boolean)
Loads a rendered WaveForm from a file.
Public methodCode exampleWaveFormLoadFromMemory(Byte)
Loads a rendered WaveForm from a byte array.
Public methodCode exampleWaveFormLoadFromMemory(Byte, Boolean)
Loads a rendered WaveForm from a byte array.
Public methodWaveFormSaveToFile(String)
Saves a rendered WaveForm to a file (uncompressed).
Public methodWaveFormSaveToFile(String, Boolean)
Saves a rendered WaveForm to a file.
Public methodCode exampleWaveFormSaveToMemory
Saves a rendered WaveForm to a byte array.
Public methodCode exampleWaveFormSaveToMemory(Boolean)
Saves a rendered WaveForm to a byte array.
Top
See Also

Reference