The WaveForm type exposes the following members.
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). |