Search Results for

    Show / Hide Table of Contents

    Class EventExtentions

    Inheritance
    Object
    EventExtentions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AudioAnalysisTools.Events
    Assembly: AudioAnalysisTools.dll
    Syntax
    public static class EventExtentions

    Methods

    | Improve this Doc View Source

    GetAverageDecibelsInEvent(SpectralEvent, Double[,], UnitConverters)

    Declaration
    public static double GetAverageDecibelsInEvent(SpectralEvent ev, double[, ] spectrogramData, UnitConverters converter)
    Parameters
    Type Name Description
    SpectralEvent ev
    Double[,] spectrogramData
    UnitConverters converter
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    GetCompositeTrack<T>(IEnumerable<T>)

    Combines all the tracks in all the events in the passed list into a single track. Each frame in the composite event is assigned the spectral point having maximum amplitude. The points in the returned array are in temporal order.

    Declaration
    public static IEnumerable<ISpectralPoint> GetCompositeTrack<T>(IEnumerable<T> events)
        where T : ITracks<Track>
    Parameters
    Type Name Description
    IEnumerable<T> events

    List of spectral events.

    Returns
    Type Description
    IEnumerable<ISpectralPoint>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetDecibelArrayFromEvent(SpectralEvent, Double[,], UnitConverters)

    Returns the average of the maximum decibel value in each frame of an event.

    Declaration
    public static double[] GetDecibelArrayFromEvent(SpectralEvent ev, double[, ] spectrogramData, UnitConverters converter)
    Parameters
    Type Name Description
    SpectralEvent ev

    The event.

    Double[,] spectrogramData

    The spectrogramin decibels.

    UnitConverters converter

    Converter between real values and spectrogram frames/bins.

    Returns
    Type Description
    Double[]

    The average decibel value.

    • 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