COM object EvTransientNoiseRemoval
EvApplication> EvFileCollection > Evfile > EvVariablesCollection > EvVariableBase As EvVariableVirtual > EvVariableAcousticProperties > EvTransientNoiseRemoval
View the COM map and the COM summary. |
The EvTransientNoiseRemoval object gives you access to information about settings on the Transient Noise Sample Removal page of the Variable Properties dialog box of the acoustic variable via the EvVariableAcousticProperties.TransientNoiseRemoval property.
EvTransientNoiseRemoval properties:
ContextHorizontalSize
ContextVerticalSize
ExcludeAboveLine
ExcludeBelowLine
ExcludeThreshold
SampleReplacement
SampleReplacementPercentile
SampleThreshold
SmoothingWindowSize
SmoothingWindowUnits
|
Description |
Integer ContextHorizontalSize SummaryAccess or specify the value for (Context Window) Horizontal size (pings) on the Transient Noise Sample Removal page of the virtual variable. The value restricted to odd integers between 3 and 9. ReturnThe value for (Context Window) Horizontal size (pings). ExampleDim vEvVarTn: Set vEvVarTn = vEvFile.Variables.FindByName("Transient noise sample removal 1") MsgBox "TransientNoiseRemoval.ContextHorizontalSize: " & CStr(vEvVarTn.Properties.TransientNoiseRemoval.ContextHorizontalSize) |
|
Integer ContextVerticalSize SummaryAccess or specify the value for (Context Window) Vertical size (samples) on the Transient Noise Sample Removal page of the virtual variable. ReturnThe value for (Context Window) Vertical size (samples)). ExampleDim vEvVarTn: Set vEvVarTn = vEvFile.Variables.FindByName("Transient noise removal 1") MsgBox "TransientNoiseRemoval.ContextVerticalSize: " & CStr(vEvVarTn.Properties.TransientNoiseRemoval.ContextVerticalSize) |
|
String ExcludeAboveLine SummaryAccess or specify the line for Exclude above on the Transient Noise Sample 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 "TransientNoiseRemoval.ExcludeAboveLine: " & CStr(vEvVarTn.Properties.TransientNoiseRemoval.ExcludeAboveLine) |
|
String ExcludeBelowLine SummaryAccess or specify the line for Exclude below on the Transient Noise Sample 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 Transient Noise Sample Removal page of the virtual variable. ReturnThe value for Exclude below threshold (dB at 1m). ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Transient noise removal 1") |
|
Integer Percentile SummaryAccess or specify the (Context Window) Percentile on the Transient Noise Sample Removal page of the virtual variable. ReturnThe value for (Context Window) Percentile. ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Transient noise removal 1") |
|
EImpulseNoiseReplacement SampleReplacement SummaryAccesses or specifies the Noise sample replacement value method on the Transient Noise Sample Removal page of the virtual variable. The Replacement method is an enum value under ETransientNoiseReplacement. ReturnEnum under ETransientNoiseReplacement ExampleConst ETransientNoiseReplacement_Median = 1 Dim vEchoviewCom: Set vEchoviewCom = GetObject(, "EchoviewCom.EvApplication") Dim vEvFile: Set vEvFile = vEchoviewCom.OpenFile("c:\YourTransientNoise.EV") Dim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Transient noise sample removal 1") MsgBox "TransientNoiseRemoval.SampleReplacement: " & CStr(vEvVarTn.Properties.TransientNoiseRemoval.SampleReplacement) This example works around a known Enum issue under VBS. |
|
Integer SampleReplacementPercentile SummaryAccess or specify the (Sample) Percentile on the Transient Noise Sample Removal page of the virtual variable. ReturnThe value for (Sample) Percentile. ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Transient noise removal 1") |
|
double SampleThreshold SummaryAccesses or specifies the (Sample) Threshold on the Transient Noise Sample Removal page of the virtual variable. ReturnThe value for the (Sample) Threshold. ExampleDim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Transient noise removal 1") |
|
double SmoothingWindowSize SummaryAccesses or specifies the (Smoothing) Vertical window size (units) on the Transient Noise Sample Removal page of the virtual variable. ReturnThe value for the (Smoothing) Vertical window size (units). ExampleDim vEvVarTn: Set vEvVarTn = vEvFile.Variables.FindByName("Transient noise removal 1") |
|
ESampleOrMeters SmoothingWindowUnits SummaryAccesses or specifies the (Smoothing) Vertical window units on the Transient Noise Sample 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:\YourTransientNoise.EV") Dim vEvVarIn: Set vEvVarIn = vEvFile.Variables.FindByName("Transient noise removal 1") This example works around a known Enum issue under VBS. |