COM object EvImpulseNoiseRemoval
EvApplication> EvFileCollection > Evfile > EvVariablesCollection > EvVariableBase As EvVariableVirtual > EvVariableAcousticProperties > EvImpulseNoiseRemoval
View the COM map and the COM summary. |
The EvImpulseNoiseRemoval object gives you access to information about settings on the Impulse Noise Removal page of the Variable Properties dialog box of the acoustic variable via the EvVariableAcousticProperties.ImpulseNoiseRemoval property.
EvImpulseNoiseRemoval properties:
ContextHorizontalSize
ExcludeAboveLine
ExcludeBelowLine
ExcludeThreshold
SampleReplacement
SampleThreshold
SmoothingWindowSize
SmoothingWindowUnits
|
Description |
Integer ContextHorizontalSize SummaryAccess or specify the value for Horizontal size (pings) on the Impulse Noise Removal page of the virtual variable. The value restricted to odd integers between 3 and 9. ReturnThe value for Horizontal size (pings). ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Impulse noise removal 1") MsgBox "ImpulseNoiseRemoval.ContextHorizontalSize: " & CStr(vEvVarIn.Properties.ImpulseNoiseRemoval.ContextHorizontalSize) |
|
String ExcludeAboveLine SummaryAccess or specify the line for Exclude above on the Impulse Noise Removal page of the virtual variable. The line name is handled as a string. ReturnExclude above line name as a string. ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Impulse noise removal 1") MsgBox "ImpulseNoiseRemoval.ExcludeAboveLine: " & CStr(vEvVarIn.Properties.ImpulseNoiseRemoval.ExcludeAboveLine) vEvVarIn.Properties.ImpulseNoiseRemoval.ExcludeAboveLine = "Line 10m" MsgBox "ImpulseNoiseRemoval.ExcludeAboveLine: " & CStr(vEvVarIn.Properties.ImpulseNoiseRemoval.ExcludeAboveLine) |
|
String ExcludeBelowLine SummaryAccess or specify the line for Exclude below on the Impulse Noise Removal page of the virtual variable. The line name is handled as a string. ReturnExclude below line name as a string. ExampleSee ExcludeAboveLine example. |
|
double ExcludeThreshold SummaryAccess or specify the Exclude below threshold (dB at 1m) on the Impulse Noise Removal page of the virtual variable. ReturnThe value for Exclude below threshold (dB at 1m). ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Impulse noise removal 1") |
|
double SampleThreshold SummaryAccesses or specifies the (Sample) Threshold on the Impulse Noise Removal page of the virtual variable. ReturnThe value for the (Sample) Threshold. ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Impulse noise removal 1") |
|
EImpulseNoiseReplacement SampleReplacement SummaryAccesses or specifies the Noise sample replacement value method on the Impulse Noise Removal page of the virtual variable. The Replacement method is an enum value under EImpulseNoiseReplacement. ReturnEnum under EImpulseNoiseReplacement ExampleConst EImpulseNoiseReplacement_Mean = 1 Dim vEchoviewCom: Set vEchoviewCom = GetObject(, "EchoviewCom.EvApplication") Dim vEvFile: Set vEvFile = vEchoviewCom.OpenFile("c:\YourImpulseNoise.EV") Dim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Impulse noise removal 1") MsgBox "ImpulseNoiseRemoval.SampleReplacement: " & CStr(vEvVarIn.Properties.ImpulseNoiseRemoval.SampleReplacement) vEvVarIn.Properties.ImpulseNoiseRemoval.SampleReplacement = EImpulseNoiseReplacement_Mean MsgBox "ImpulseNoiseRemoval.SampleReplacement: " & CStr(vEvVarIn.Properties.ImpulseNoiseRemoval.SampleReplacement) This example works around a known Enum issue under VBS. |
|
double SmoothingWindowSize SummaryAccesses or specifies the (Smoothing) Vertical window size (units) on the Impulse Noise Removal page of the virtual variable. ReturnThe value for the (Smoothing) Vertical window size (units). ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Impulse noise removal 1") |
|
ESampleOrMeters SmoothingWindowUnits SummaryAccesses or specifies the (Smoothing) Vertical window units on the Impulse Noise Removal page of the virtual variable using an emum under ESamplesOrMeters. ReturnEnum under ESamplesOrMeters ExampleConst ESamplesOrMeters_Meters = 1 Dim vEchoviewCom: Set vEchoviewCom = GetObject(, "EchoviewCom.EvApplication") Dim vEvFile: Set vEvFile = vEchoviewCom.OpenFile("c:\YourImpulseNoise.EV") Dim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Impulse noise removal 1") This example works around a known Enum issue under VBS. |