Class OscillationEvent
Inheritance
OscillationEvent
Assembly: AudioAnalysisTools.dll
public class OscillationEvent : SpectralEvent, IComparable<ResultBase>, IComparable, IDrawableEvent, ISpectralEvent, ISpectralBand, ITemporalEvent, IInstantEvent
Constructors
|
Improve this Doc
View Source
Declaration
public OscillationEvent()
Properties
|
Improve this Doc
View Source
Gets or sets the period in seconds between consecutive high points in an oscillation event.
Declaration
public double Periodicity { get; set; }
Property Value
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
|
Improve this Doc
View Source
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
Returns
Implements
Extension Methods