Class IndexCalculateConfig
CONFIG CLASS FOR the class IndexCalculate.cs.
Inheritance
IndexCalculateConfig
Assembly: AudioAnalysisTools.dll
public class IndexCalculateConfig : AnalyzerConfigIndexProperties, IIndexPropertyReferenceConfiguration, IConfig, IEquatable<IndexCalculateConfig>, ICloneable
Constructors
|
Improve this Doc
View Source
Declaration
public IndexCalculateConfig()
Fields
|
Improve this Doc
View Source
Declaration
public const double DefaultBgNoiseNeighborhood = 5
Field Value
|
Improve this Doc
View Source
Declaration
public const FreqScaleType DefaultFrequencyScaleType = FreqScaleType.Linear
Field Value
|
Improve this Doc
View Source
Declaration
public const int DefaultHighFreqBound = 11000
Field Value
|
Improve this Doc
View Source
Declaration
public const int DefaultIndexCalculationDurationInSeconds = 60
Field Value
|
Improve this Doc
View Source
Declaration
public const int DefaultLowFreqBound = 1000
Field Value
|
Improve this Doc
View Source
Declaration
public const double DefaultMaxBandWidth = 1
Field Value
|
Improve this Doc
View Source
Declaration
public const int DefaultMelScale = 0
Field Value
|
Improve this Doc
View Source
Declaration
public const int DefaultMidFreqBound = 8000
Field Value
|
Improve this Doc
View Source
Declaration
public const double DefaultMinBandWidth = 0
Field Value
|
Improve this Doc
View Source
Declaration
public const int DefaultResampleRate = 22050
Field Value
|
Improve this Doc
View Source
Declaration
public const int DefaultWindowSize = 512
Field Value
Properties
|
Improve this Doc
View Source
Gets bG noise for any location is calculated by extending the region of index calculation from 5 seconds before start to 5 sec after end of current index interval.
Declaration
[YamlIgnore]
[JsonIgnore]
public TimeSpan BgNoiseBuffer { get; }
Property Value
|
Improve this Doc
View Source
Gets or sets the amount of audio either side of the required subsegment from which to derive an estimate of background noise.
Units = seconds
As an example: IF (IndexCalculationDuration = 1 second) AND (BGNNeighborhood = 10 seconds)
THEN BG noise estimate will be derived from 21 seconds of audio centred on the subsegment.
In case of edge effects, the BGnoise neighborhood will be truncated to start or end of the audio segment (typically expected to be one minute long).
Declaration
public double BgNoiseNeighborhood { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the FrameWidth - the number of samples to use per FFT window.
FrameWidth is used WITHOUT overlap to calculate the spectral indices.
Default value = 512.
Units=samples.
Declaration
public int FrameLength { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets frequency scale is Linear or Octave.
Declaration
public FreqScaleType FrequencyScale { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the duration of the sub-segment for which indices are calculated.
Default = 60 seconds i.e. same duration as the Segment.
Declaration
public double IndexCalculationDuration { get; protected set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the Timespan (in seconds) over which summary and spectral indices are calculated
Default=60.0
Units=seconds.
Declaration
[YamlIgnore]
[JsonIgnore]
public TimeSpan IndexCalculationDurationTimeSpan { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the LowFreqBound.
Default value = 1000.
Units=Herz.
Declaration
public int LowFreqBound { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the fraction-valued maximum to be used in a pseudo-bandpass filter.
Declaration
public double MaxBandWidth { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the number of Mel-scale filter banks to use.
Declaration
public int MelScale { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the MidFreqBound.
Default value = 8000.
Units=Herz.
Declaration
public int MidFreqBound { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the fraction-valued minimum to be used in a pseudo-bandpass filter.
Declaration
public double MinBandWidth { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public bool Equals(IndexCalculateConfig other)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public override int GetHashCode()
Returns
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
Declaration
object ICloneable.Clone()
Returns
Implements
Extension Methods