Class SegmentSettingsBase
Contains settings specific to the current block of audio that will be analyzed.
Inheritance
SegmentSettingsBase
Assembly: AnalysisBase.dll
Syntax
public class SegmentSettingsBase
Fields
|
Improve this Doc
View Source
AnalysisSettings
Declaration
protected readonly AnalysisSettings AnalysisSettings
Field Value
|
Improve this Doc
View Source
PreparedFile
Declaration
protected readonly FileSegment PreparedFile
Field Value
Properties
|
Improve this Doc
View Source
AnalysisIdealSegmentDuration
Gets or sets the ideal duration of audio for the segment being analyzed.
This number represents what was requested for cutting whereas the actual
duration of audio provided by SegmentAudioFile
may differ slightly due to
inaccuracies in cutting audio.
Declaration
public TimeSpan AnalysisIdealSegmentDuration { get; protected set; }
Property Value
|
Improve this Doc
View Source
InstanceId
Gets a unique identifier for this object. Tradionally used for debugging paralleism issues.
Has no useful semantics other than for debugging.
Declaration
public int InstanceId { get; }
Property Value
|
Improve this Doc
View Source
SegmentAudioFile
Gets the audio file for the analysis.
Analysis implementations must not set this.
Declaration
public FileInfo SegmentAudioFile { get; }
Property Value
|
Improve this Doc
View Source
SegmentEventsFile
Gets the events file for the analysis.
Declaration
public FileInfo SegmentEventsFile { get; }
Property Value
|
Improve this Doc
View Source
SegmentImageFile
Gets an output image file - most likely a spectrogram
Analysis implementations must not set this.
Declaration
public FileInfo SegmentImageFile { get; }
Property Value
|
Improve this Doc
View Source
SegmentOutputDirectory
Gets the output directory for a single analysis run.
Analysis implementations must not set this.
Declaration
public DirectoryInfo SegmentOutputDirectory { get; }
Property Value
|
Improve this Doc
View Source
SegmentSpectrumIndicesDirectory
Gets the spectrum indices directory where spectra should be written for the analysis.
Declaration
public DirectoryInfo SegmentSpectrumIndicesDirectory { get; }
Property Value
|
Improve this Doc
View Source
SegmentStartOffset
Gets or sets the start offset of the current analysis segment.
For a large file, analyzed in minute segments, this will store Minute offsets (e.g. min 1, min 2, min 3...).
Declaration
public TimeSpan SegmentStartOffset { get; protected set; }
Property Value
|
Improve this Doc
View Source
SegmentSummaryIndicesFile
Gets the summary indices file for the analysis.
Declaration
public FileInfo SegmentSummaryIndicesFile { get; }
Property Value
|
Improve this Doc
View Source
SegmentTempDirectory
Gets the temp directory for a single analysis run.
Anything put here will be deleted when the analysis is complete.
Analysis implementations must not set this.
Declaration
public DirectoryInfo SegmentTempDirectory { get; }
Property Value
Extension Methods