Search Results for

    Show / Hide Table of Contents

    Class OscillationEvent

    Inheritance
    Object
    ResultBase
    EventBase
    EventCommon
    SpectralEvent
    OscillationEvent
    Implements
    IComparable<ResultBase>
    IComparable
    IDrawableEvent
    ISpectralEvent
    ISpectralBand
    ITemporalEvent
    IInstantEvent
    Inherited Members
    SpectralEvent.EventEndSeconds
    SpectralEvent.HighFrequencyHertz
    SpectralEvent.LowFrequencyHertz
    SpectralEvent.EventDurationSeconds
    SpectralEvent.BandWidthHertz
    EventCommon.Name
    EventCommon.Profile
    EventCommon.DecibelDetectionThreshold
    EventCommon.ComponentName
    EventCommon.ResultStartSeconds
    EventCommon.Score
    EventCommon.ScoreRange
    EventCommon.ScoreNormalized
    EventBase.SegmentStartSeconds
    EventBase.EventStartSeconds
    EventBase.SetEventStartRelative(TimeSpan, Double)
    ResultBase.FileName
    ResultBase.SegmentDurationSeconds
    ResultBase.ResultMinute
    ResultBase.CompareTo(ResultBase)
    ResultBase.CompareTo(Object)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AudioAnalysisTools
    Assembly: AudioAnalysisTools.dll
    Syntax
    public class OscillationEvent : SpectralEvent, IComparable<ResultBase>, IComparable, IDrawableEvent, ISpectralEvent, ISpectralBand, ITemporalEvent, IInstantEvent

    Constructors

    | Improve this Doc View Source

    OscillationEvent()

    Declaration
    public OscillationEvent()

    Properties

    | Improve this Doc View Source

    Periodicity

    Gets or sets the period in seconds between consecutive high points in an oscillation event.

    Declaration
    public double Periodicity { get; set; }
    Property Value
    Type Description
    Double

    Methods

    | Improve this Doc View Source

    Draw(IImageProcessingContext, EventRenderingOptions)

    Draws a border around this oscillation event.

    Declaration
    public override void Draw(IImageProcessingContext graphics, EventRenderingOptions options)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Processing.IImageProcessingContext graphics
    EventRenderingOptions options
    Overrides
    SpectralEvent.Draw(IImageProcessingContext, EventRenderingOptions)
    | Improve this Doc View Source

    TrimEvent(SpectrogramStandard, Int32, Int32, Int32, Int32)

    Extracts an event from a spectrogram given its bounds. Then trims the event because oscillation events do not typically start where the DCT places them. It a;sp returns the periodicity of the oscillation event.

    Declaration
    public static (int EventStart, int EventEnd, double FramePeriod) TrimEvent(SpectrogramStandard spectrogram, int startFrame, int minBin, int endFrame, int maxBin)
    Parameters
    Type Name Description
    SpectrogramStandard spectrogram
    Int32 startFrame
    Int32 minBin
    Int32 endFrame
    Int32 maxBin
    Returns
    Type Description
    (T1, T2, T3)<Int32, Int32, Double>

    Implements

    System.IComparable<T>
    System.IComparable
    IDrawableEvent
    ISpectralEvent
    ISpectralBand
    ITemporalEvent
    IInstantEvent

    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)
    EventDrawer.DrawScoreIndicator(SpectralEvent, IImageProcessingContext, EventRenderingOptions)
    EventDrawer.DrawEventLabel(SpectralEvent, IImageProcessingContext, EventRenderingOptions)
    EventConverters.ConvertSpectralEventToAcousticEvent(SpectralEvent)
    • 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