Name | Description | |
---|---|---|
WaveForm |
Default constructor creating a new instance of the WaveForm class.
| |
WaveForm(String) |
Creates a new instance of the WaveForm class, initializing the file name.
| |
WaveForm(String, WAVEFORMPROC, Control) |
Creates a new instance of the WaveForm class, initializing the file name and a notification handler.
|
Name | Description | |
---|---|---|
AddMarker(String, Double) |
Add or replace a marker to the WaveForm.
| |
AddMarker(String, Int64) |
Add or replace a marker to the WaveForm.
| |
AddVolumePoint(Double, Single) |
Add or replace a volume point to the WaveForm.
| |
AddVolumePoint(Int64, Single) |
Add or replace a volume point to the WaveForm.
| |
ClearAllMarker |
Removes all markers from the WaveForm.
| |
ClearAllVolumePoints |
Removes all volume points from the WaveForm.
| |
Clone |
Returns a new WaveForm instance which is a clone of the current one.
| |
CreateBitmap(Graphics, Rectangle, Int32, Int32, Boolean) |
Draws the rendered wave form directly on the provided GDI+ graphics.
| |
CreateBitmap(Int32, Int32, Int32, Int32, Boolean) |
Creates a bitmap from a rendered wave form.
| |
DetectNextLevel(Double, Double, Boolean, Boolean) |
Finds the next position with a certain volume level.
| |
DetectNextLevel(Int64, Double, Boolean, Boolean) |
Finds the next position with a certain volume level.
| |
FindNextZeroCrossing |
Finds the next zero crossing position related to the given position (forward seeking).
| |
FindPreviousZeroCrossing |
Finds the previous zero crossing position related to the given position (backward seeking).
| |
Frame2Bytes |
Converts a given frame to the position (in bytes).
| |
Frame2Seconds |
Converts a given frame to the position (in seconds).
| |
GetBytePositionFromX |
Translates a X coordinate of a drawn WaveForm graphic to the related byte position within the rendered stream.
| |
GetCuePoints(Double , Double , Double) |
Determines silence positions at the beginning and end of a rendered wave form.
| |
GetCuePoints(Int64 , Int64 , Double) |
Determines silence positions at the beginning and end of a rendered wave form.
| |
GetCuePoints(Double , Double , Double, Double) |
Determines silence positions at the beginning and end of a rendered wave form.
| |
GetCuePoints(Int64 , Int64 , Double, Double) |
Determines silence positions at the beginning and end of a rendered wave form.
| |
GetCuePoints(Double , Double , Double, Double, Boolean) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Double , Double , Double, Int32, Int32) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Int64 , Int64 , Double, Double, Boolean) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Int64 , Int64 , Double, Int32, Int32) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Double , Double , Double, Double, Int32, Int32) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Double , Double , Double, Int32, Int32, Boolean) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Int64 , Int64 , Double, Double, Int32, Int32) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Int64 , Int64 , Double, Int32, Int32, Boolean) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Double , Double , Double, Double, Int32, Int32, Boolean) |
Determines silence positions of a rendered wave form within a given range.
| |
GetCuePoints(Int64 , Int64 , Double, Double, Int32, Int32, Boolean) |
Determines silence positions of a rendered wave form within a given range.
| |
GetMarker |
Returns a given marker position.
| |
GetMarkerCount |
Returns the number of markers within the wave form.
| |
GetMarkers |
Returns an array of strings containing all marker names.
| |
GetMarkerSec |
Returns a given marker position.
| |
GetNormalizationGain |
Determines a gain factor (normalization), so that the maximum peak level of the sample data will be at 0 dB.
| |
GetVolumeLevel(Double, Boolean, Double , Single ) |
Returns the volume level at the given position of the volume curve.
| |
GetVolumeLevel(Int64, Boolean, Int64 , Single ) |
Returns the volume level at the given position of the volume curve.
| |
GetVolumePoint(Double) |
Returns the level of a given volume point.
| |
GetVolumePoint(Int32) |
Returns a certain volume point at the given index.
| |
GetVolumePoint(Int64) |
Returns the level of a given volume point.
| |
GetVolumePointCount |
Returns the number of volume points within the wave form.
| |
IsZeroCrossingFrame |
Detects, if the two given positions reflect a zero crossing.
| |
PeakLevelOfFrame |
Returns the peak level (between 0 and 32767) of a given frame position.
| |
Position2Frames(Double) |
Converts a given position (in seconds) to the frame number.
| |
Position2Frames(Int64) |
Converts a given position (in bytes) to the frame number.
| |
Position2Playback(Double) |
Converts a given rendering position to the playback position according to the SyncFactor.
| |
Position2Playback(Int64) |
Converts a given rendering position to the playback position according to the SyncFactor.
| |
Position2Rendering(Double) |
Converts a given playback position to the rendering position according to the SyncFactor.
| |
Position2Rendering(Int64) |
Converts a given playback position to the rendering position according to the SyncFactor.
| |
RemoveMarker |
Removes an existing marker from the WaveForm.
| |
RemoveVolumePoint(Double) |
Removes an existing volume point from the WaveForm.
| |
RemoveVolumePoint(Int64) |
Removes an existing volume point from the WaveForm.
| |
RemoveVolumePointsBetween(Double, Double) |
Removes all volume points between the two given points exclusive.
| |
RemoveVolumePointsBetween(Int64, Int64) |
Removes all volume points between the two given points exclusive.
| |
RenderRecording |
Renders live recorded data and generates the WaveForm data for it.
| |
RenderRecording(IntPtr, Int32) |
Renders live recorded data and generates the WaveForm data for it.
| |
RenderStart(Boolean, BASSFlag) |
Start the rendering process for the FileName given (peak levels will be scanned).
| |
RenderStart(Int32, Boolean) |
Start the rendering process for the specified decoding stream (peak levels will be scanned).
| |
RenderStart(Boolean, ThreadPriority, BASSFlag) |
Start the rendering process for the FileName given (peak levels will be scanned).
| |
RenderStart(Int32, Boolean, Boolean) |
Start the rendering process for the specified decoding stream (peak levels will be scanned).
| |
RenderStart(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.
| |
RenderStart(Int32, Boolean, ThreadPriority, Boolean) |
Start the rendering process for the specified decoding stream (peak levels will be scanned).
| |
RenderStartRecording(Int32, Int32, Int32) |
Start a live recording rendering process for the specified non-decoding handle (peak levels will not be scanned at this point).
| |
RenderStartRecording(Int32, Single, Single) |
Start a live recording rendering process for the specified stream handle (peak levels will not be scanned at this point).
| |
RenderStop |
Stops a currently running rendering process.
| |
RenderStopRecording |
Stops live recording rendering.
| |
Reset |
Resets the wave form.
| |
SearchVolumePoint(Double) |
Searches for a certain volume point.
| |
SearchVolumePoint(Int64) |
Searches for a certain volume point.
| |
SearchVolumePoint(Double, WaveForm VolumePoint , WaveForm VolumePoint ) |
Searches for a certain volume point.
| |
SearchVolumePoint(Int64, WaveForm VolumePoint , WaveForm VolumePoint ) |
Searches for a certain volume point.
| |
SyncPlayback |
Sets a playback channel to synchronize the wave form positions.
| |
WaveFormLoadFromFile(String) |
Loads a rendered WaveForm from a file.
| |
WaveFormLoadFromFile(String, Boolean) |
Loads a rendered WaveForm from a file.
| |
WaveFormLoadFromMemory( Byte ) |
Loads a rendered WaveForm from a byte array.
| |
WaveFormLoadFromMemory( Byte , Boolean) |
Loads a rendered WaveForm from a byte array.
| |
WaveFormSaveToFile(String) |
Saves a rendered WaveForm to a file (uncompressed).
| |
WaveFormSaveToFile(String, Boolean) |
Saves a rendered WaveForm to a file.
| |
WaveFormSaveToMemory |
Saves a rendered WaveForm to a byte array.
| |
WaveFormSaveToMemory(Boolean) |
Saves a rendered WaveForm to a byte array.
|
Name | Description | |
---|---|---|
BeatLength |
Gets or Sets the length of the beat position line to be drawn in percentage of the total height (default is 0.05 = 5%).
| |
BeatWidth |
Gets or Sets the width in pixel of the beat position line to be drawn (default is 1px).
| |
CallbackFrequency |
Gets or Sets the frequency in FrameResolution frames - how often the WAVEFORMPROC callback should be invoked (default=250, every 5sec. - if the FrameResolution is set to 20ms).
Specify 0, if you want to invoke the callback only at the end of the rendering process. Example: Specify 50, if you want the callback to be called for every second of the deconding stream (slow - if the FrameResolution is set to 20ms). Or specify 500 to invoke the callback for every 10 seconds (if the FrameResolution is set to 20ms) rendered. Default is 250 = every 5sec. (if the FrameResolution is set to 20ms default). | |
ColorBackground |
Gets or Sets the background color to be used when drawing the wave form image (Default = SystemColors.Control).
| |
ColorBeat |
Gets or Sets the color to be used when drawing beat position marker (Default = Color.CornflowerBlue).
| |
ColorLeft |
Gets or Sets the base color (left channel) to be used when drawing the wave form image (Default = Color.Gainsboro).
| |
ColorLeft2 |
Gets or Sets the gradient color (left channel) to be used when drawing the wave form image (Default = Color.Gainsboro).
| |
ColorLeftEnvelope |
Gets or Sets the envelope color (left channel) to be used when drawing the wave form image (Default = Color.Gray).
| |
ColorMarker |
Gets or Sets the color to be used when drawing a marker (Default = Color.DarkBlue).
| |
ColorMiddleLeft |
Gets or Sets the center line color (left channel) to be used when drawing the wave form image (Default = Color.Empty).
| |
ColorMiddleRight |
Gets or Sets the center line color (right channel) to be used when drawing the wave form image (Default = Color.Empty).
| |
ColorRight |
Gets or Sets the base color (right channel) to be used when drawing the wave form image (Default = Color.LightGray).
| |
ColorRight2 |
Gets or Sets the gradient color (right channel) to be used when drawing the wave form image (Default = Color.White).
| |
ColorRightEnvelope |
Gets or Sets the envelope color (right channel) to be used when drawing the wave form image (Default = Color.DimGray).
| |
ColorVolume |
Gets or Sets the color to be used when drawing volume curve (Default = Color.IndianRed).
| |
DetectBeats |
Gets or Sets, if the beat positions should also be detected during the rendering process.
| |
DrawBeat |
Gets or Sets if and how beat position should be drawn in the WaveForm (Default = None).
| |
DrawCenterLine |
Gets or Sets a flag if the center line should be drawn in the wave form image (Default = ).
| |
DrawEnvelope |
Gets or Sets a flag if the envelope should be drawn in the wave form image (Default = ).
| |
DrawGradient |
Gets or Sets a flag if the wave form should be drawn in gradient mode (Default = ).
| |
DrawMarker |
Gets or Sets if and how markers should be drawn in the WaveForm (Default = None).
| |
DrawVolume |
Gets or Sets if and how a volume curve should be drawn in the WaveForm (Default = None).
| |
DrawWaveForm |
Gets or Sets how the wave form should be drawn (Default = Stereo).
| |
FileName |
Gets or Sets the file name to render. Needs to be set before calling the RenderFile method.
| |
FrameResolution |
Gets or Sets the rendering resolution in seconds. The resolution defines the length of one frame which is the smallest unit to display.
The minimum is 0.001 (1ms) and the maximum is 5.0 (5000ms, 5sec.). Default is 0.01 = 10ms. | |
FramesRendered |
Gets how many frames have been rendered (one frame = FrameResolution ms).
When rendering has finished this should be equal to FramesToRender. | |
FramesToRender |
Gets how many frames have to be rendered in total (one frame = FrameResolution ms).
| |
GainFactor |
Gets or Sets a gain factor which should be used when creating the WaveForm image to amplify the amplitude (default is 1.0 = no amplification).
| |
IsRendered |
Gets, if the wave form has already been rendered.
| |
IsRenderingInProgress |
Gets, if the wave form rendering process is still in progress.
| |
MarkerFont |
Gets or Sets the font to be used when drawing a marker (Default = Arial, 7.5, regular).
| |
MarkerLength |
Gets or Sets the length of the marker line to be drawn in percentage of the total height (default is 0.1 = 10%).
| |
NotifyHandler |
Gets or Sets the WAVEFORMPROC callback delegete which should be invoked during the rendering progress started with RenderStart(Int32, Boolean).
| |
PixelFormat |
Gets or Sets the pixel format to use for drawing a bitmap (Default = Format32bppArgb).
| |
PreScan |
Gets or Sets, if the PRESCAN flag should be added by default when rendering the WaveForm.
| |
SyncFactor |
Gets the current sync factor between rendering and playback.
| |
TempoFactor |
Gets or Sets the tempo adjustment factor in percent (e.g. 0.05 for +5% or -0.1 for -10%, default is 0).
| |
UseSimpleScan |
Gets or Sets, if a faster simple scan algo should be used.
| |
VolumeCurveZeroLevel |
Gets or Sets if the initial level when drawing a volume curve should be silent (default is ).
| |
Wave |
Gets or Sets the rendered wave buffer instance, ie. lets you access the peak levels scanned.
| |
WinControl |
Gets or Sets the application window control (use null for console applications).
This window control will be used to invoke the WAVEFORMPROC (if set), so that the callback will be executed in the 'correct' GUI thread, if the background option was set during RenderStart(Int32, Boolean). |