Skip to content

TVUMeterSetting

type

TVUMeterSetting = (vu_Handle, vu_WarningPercent, vu_PeakPercent, vu_BkgndColor, vu_NormalColor, vu_WarningColor, vu_PeakColor, vu_TickSize, vu_TickInterval, vu_NeedleThickness, vu_OverlayLeft, vu_OverlayTop, vu_OverlayWidth, vu_OverlayHeight, vu_Transparent, vu_FlipVert, vu_FlipHorz, vu_CustomPercentValue, vu_LogarithmicScale, vu_AttackMs, vu_ReleaseMs, vu_PeakHoldMs, vu_OverlayOverVideo);

Type used in the SetVUMeterSetting method. TVUMeterSetting = (

() 0 = disabled, 1 = enabled

Value Description
vu_Handle sets the Handle of the panel or image control on which the VU-Meter will be displayed
vu_WarningPercent percentage of the level above which vu_WarningColor is used
vu_PeakPercent percentage of the level above which vu_PeakColor is used
vu_BkgndColor color of the VU-Meter background
vu_NormalColor color of the normal level (green by default)
vu_WarningColor color of the warning level (above vu_WarningPercent)
vu_PeakColor color of the peak level (above vu_PeakPercent)
vu_TickSize size of the ticks in the bargraph VU-Meter
vu_TickInterval interval between ticks in the bargraph VU-Meter
vu_NeedleThickness thickness of the needle in the analog VU-Meter
vu_OverlayLeft left position of the VU-Meter when overlayed over the video
vu_OverlayTop top position of the VU-Meter when overlayed over the video
vu_OverlayWidth width of the VU-Meter when overlayed over the video
vu_OverlayHeight height of the VU-Meter when overlayed over the video
vu_Transparent () makes the VU-Meter background transparent when overlayed over the video frames
vu_FlipVert () flips the VU-Meter vertically
vu_FlipHorz () flips the VU-Meter horizontally
vu_CustomPercentValue drives the VU-Meter as a custom bargraph: pass (or update in real time) a value in the 0..100 range
vu_LogarithmicScale () uses a logarithmic scale (linear by default)
vu_AttackMs attack (rise) time constant, in milliseconds (default 10). Lower = the meter reacts faster to peaks
vu_ReleaseMs release (fall) time constant, in milliseconds (default 300). Lower = the meter falls back faster
vu_PeakHoldMs peak-hold duration, in milliseconds (default 800). 0 = no peak hold displayed (also disables the analog clip LED)
vu_OverlayOverVideo () overlays the VU-Meter over the video frames. Works with ANY meter type and replaces the obsolete vu_AnalogOverlay / vu_BargraphOverlay meter types