Class TemplateManifest
This is base class for both template manifests and functional templates.
Most of the fields and properties are common to both manifests and functional templates.
Manifests contain the template provenance. This does not appear in the functional template because provenance includes path data.
This class also contains methods to create new or edit existing functional templates based on info in the manifests.
Inheritance
TemplateManifest
Assembly: AudioAnalysisTools.dll
Syntax
public class TemplateManifest
Properties
|
Improve this Doc
View Source
BandMaxHz
Gets or sets the top freq of bandpass filter.
Bandpass filter to be applied where the target content exists only within a narrow band, e.g. 3-4 kHz for Silver-eye band.
Top of the required frequency band.
Declaration
public int BandMaxHz { get; set; }
Property Value
|
Improve this Doc
View Source
BandMinHz
Gets or sets the bottom freq of bandpass filter.
Bandpass filter to be applied where the target content exists only within a narrow band, e.g. 3-4 kHz for Silver-eye band.
Bottom of the required frequency band.
Declaration
public int BandMinHz { get; set; }
Property Value
|
Improve this Doc
View Source
Description
Declaration
public string Description { get; set; }
Property Value
|
Improve this Doc
View Source
EditStatus
Gets or sets the template edit status.
EditStatus can be "locked", etc.
Declaration
public EditStatus EditStatus { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public byte FeatureExtractionAlgorithm { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets a comment about the template.
e.g. "Detects light rain".
Declaration
public string GeneralComment { get; set; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; set; }
Property Value
|
Improve this Doc
View Source
Provenance
Declaration
public SourceAudioProvenance[] Provenance { get; set; }
Property Value
|
Improve this Doc
View Source
SpectralReductionFactor
Gets or sets the factor by which a spectrum of index values is reduced.
Full array (256 freq bins) of spectral indices is reduced by the following factor by averaging.
This is to reduce correlation and computation.
Declaration
public int SpectralReductionFactor { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
CreateTemplateDefinition(TemplateManifest)
This method calculates new template based on passed manifest.
Declaration
public static Dictionary<string, double[]> CreateTemplateDefinition(TemplateManifest templateManifest)
Parameters
Returns
Extension Methods