Search Results for

    Show / Hide Table of Contents

    Class SourceMetadata

    Inheritance
    Object
    SourceMetadata
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AnalysisBase.Segment
    Assembly: AnalysisBase.dll
    Syntax
    public class SourceMetadata : ISourceMetadata

    Constructors

    | Improve this Doc View Source

    SourceMetadata(TimeSpan, Int32, String, Nullable<DateTimeOffset>)

    Initializes a new instance of the SourceMetadata class.

    Declaration
    public SourceMetadata(TimeSpan duration, int sampleRate, string identifier, DateTimeOffset? recordedDate)
    Parameters
    Type Name Description
    TimeSpan duration

    The duration of the source audio object.

    Int32 sampleRate

    The sample rate of the source audio object.

    String identifier

    A unique textual identifier.

    Nullable<DateTimeOffset> recordedDate

    The Date the audio recording was recorded.

    Properties

    | Improve this Doc View Source

    Duration

    Gets Duration - the length of the source audio object.

    Declaration
    public TimeSpan Duration { get; }
    Property Value
    Type Description
    TimeSpan
    | Improve this Doc View Source

    Identifier

    Gets Identifier - a string that uniquely identifies the source audio object.

    Declaration
    public string Identifier { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    RecordedDate

    Gets the date the source audio object started recording at.

    Declaration
    public DateTimeOffset? RecordedDate { get; }
    Property Value
    Type Description
    Nullable<DateTimeOffset>
    | Improve this Doc View Source

    SampleRate

    Gets SampleRate - the number of samples per second in the source audio object. Store sample rate of original audio object. May need original SR during the analysis, esp if have upsampled from the original SR.

    Declaration
    public int SampleRate { get; }
    Property Value
    Type Description
    Int32

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top