Search Results for

    Show / Hide Table of Contents

    Class Oscillations2019

    NOTE: 26th October 2019.

    This class contains methods to detect oscillations in a the spectrogram of an audio signal. The method Execute() returns all info about oscillations in the passed spectrogram.

    Inheritance
    Object
    Oscillations2019
    Inherited Members
    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 static class Oscillations2019

    Methods

    | Improve this Doc View Source

    DetectOscillations(Double[], Double, Double, Double, Double, Double, Double, out Double[], out Double[])

    Currently this method is called by only one species recognizer - LitoriaCaerulea.

    Declaration
    public static void DetectOscillations(double[] ipArray, double framesPerSecond, double decibelThreshold, double dctDuration, double minOscFreq, double maxOscFreq, double dctThreshold, out double[] dctScores, out double[] oscFreq)
    Parameters
    Type Name Description
    Double[] ipArray

    an array of decibel values.

    Double framesPerSecond

    the frame rate.

    Double decibelThreshold

    Ignore frames below this threshold.

    Double dctDuration

    Duration in seconds of the required DCT.

    Double minOscFreq

    minimum oscillation frequency.

    Double maxOscFreq

    maximum oscillation frequency.

    Double dctThreshold

    Threshold for the maximum DCT coefficient.

    Double[] dctScores

    an array of dct scores.

    Double[] oscFreq

    an array of oscillation frequencies.

    | Improve this Doc View Source

    Execute(SpectrogramStandard, Int32, Int32, Double, Double, Int32, Int32, Double, Double, Double, Double, Int32, out Double[], out List<OscillationEvent>, TimeSpan)

    Declaration
    public static void Execute(SpectrogramStandard sonogram, int minHz, int maxHz, double decibelThreshold, double dctDuration, int minOscFreq, int maxOscFreq, double dctThreshold, double scoreThreshold, double minDuration, double maxDuration, int smoothingWindow, out double[] dctScores, out List<OscillationEvent> events, TimeSpan segmentStartOffset)
    Parameters
    Type Name Description
    SpectrogramStandard sonogram
    Int32 minHz
    Int32 maxHz
    Double decibelThreshold
    Double dctDuration
    Int32 minOscFreq
    Int32 maxOscFreq
    Double dctThreshold
    Double scoreThreshold
    Double minDuration
    Double maxDuration
    Int32 smoothingWindow
    Double[] dctScores
    List<OscillationEvent> events
    TimeSpan segmentStartOffset
    • 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