Search Results for

    Show / Hide Table of Contents

    Class RainIndices

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

    Fields

    | Improve this Doc View Source

    header_cicada

    Declaration
    public const string header_cicada = "Cicadas"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    header_negative

    Declaration
    public const string header_negative = "none"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    header_rain

    Declaration
    public const string header_rain = "Rain"
    Field Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    CalculateSpikeIndex(Double[], Double)

    Declaration
    public static double CalculateSpikeIndex(double[] envelope, double spikeThreshold)
    Parameters
    Type Name Description
    Double[] envelope
    Double spikeThreshold
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    ConvertAcousticIndices2Classifcations(RainIndices.RainStruct)

    The values in this class were derived from See5 runs of data taken from ????.

    Declaration
    public static string ConvertAcousticIndices2Classifcations(RainIndices.RainStruct indices)
    Parameters
    Type Name Description
    RainIndices.RainStruct indices
    Returns
    Type Description
    String
    | Improve this Doc View Source

    ConvertClassifcations2Dictionary(String[])

    Declaration
    public static Dictionary<string, double> ConvertClassifcations2Dictionary(string[] classifications)
    Parameters
    Type Name Description
    String[] classifications
    Returns
    Type Description
    Dictionary<String, Double>
    | Improve this Doc View Source

    Get10SecondIndices(Double[], Double[,], Int32, Int32, TimeSpan, Double)

    returns some indices relevant to rain and cicadas from a short (10seconds) chunk of audio.

    Declaration
    public static RainIndices.RainStruct Get10SecondIndices(double[] signal, double[, ] spectrogram, int lowFreqBound, int midFreqBound, TimeSpan frameDuration, double binWidth)
    Parameters
    Type Name Description
    Double[] signal

    signal envelope of a 10s chunk of audio.

    Double[,] spectrogram

    spectrogram of a 10s chunk of audio.

    Int32 lowFreqBound
    Int32 midFreqBound
    TimeSpan frameDuration
    Double binWidth
    Returns
    Type Description
    RainIndices.RainStruct
    | Improve this Doc View Source

    GetIndices(Double[], TimeSpan, TimeSpan, Double[,], Int32, Int32, Double)

    Declaration
    public static Dictionary<string, double> GetIndices(double[] signalEnvelope, TimeSpan audioDuration, TimeSpan frameStepDuration, double[, ] spectrogram, int lowFreqBound, int midFreqBound, double binWidth)
    Parameters
    Type Name Description
    Double[] signalEnvelope

    envelope of the original signal.

    TimeSpan audioDuration
    TimeSpan frameStepDuration
    Double[,] spectrogram

    the original amplitude spectrum BUT noise reduced.

    Int32 lowFreqBound
    Int32 midFreqBound
    Double binWidth

    derived from original nyquist and window/2.

    Returns
    Type Description
    Dictionary<String, Double>
    • 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