Search Results for

    Show / Hide Table of Contents

    Class DrawLongDurationSpectrograms

    First argument on command line to call this action is "ColourSpectrogram" Activity Codes for other tasks to do with spectrograms and audio files:

    audio2csv - Calls AnalyseLongRecording.Execute(): Outputs acoustic indices and LD false-colour spectrograms. audio2sonogram - Calls AnalysisPrograms.Audio2Sonogram.Main(): Produces a sonogram from an audio file - EITHER custom OR via SOX.Generates multiple spectrogram images and oscilllations info indicescsv2image - Calls DrawSummaryIndexTracks.Main(): Input csv file of summary indices. Outputs a tracks image. colourspectrogram - Calls DrawLongDurationSpectrograms.Execute(): Produces LD spectrograms from matrices of indices. zoomingspectrograms - Calls DrawZoomingSpectrograms.Execute(): Produces LD spectrograms on different time scales. differencespectrogram - Calls DifferenceSpectrogram.Execute(): Produces Long duration difference spectrograms

    audiofilecheck - Writes information about audio files to a csv file. snr - Calls SnrAnalysis.Execute(): Calculates signal to noise ratio. audiocutter - Cuts audio into segments of desired length and format createfoursonograms.

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

    Fields

    | Improve this Doc View Source

    CommandName

    Declaration
    public const string CommandName = "DrawLongDurationSpectrograms"
    Field Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    DrawAggregatedSpectrograms(DrawLongDurationSpectrograms.Arguments, String, Dictionary<String, Double[,]>)

    The integer returned from this method is the count of time-frames in the spectrogram.

    Declaration
    public static int DrawAggregatedSpectrograms(DrawLongDurationSpectrograms.Arguments arguments, string fileStem, Dictionary<string, double[, ]> spectra = null)
    Parameters
    Type Name Description
    DrawLongDurationSpectrograms.Arguments arguments
    String fileStem
    Dictionary<String, Double[,]> spectra
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    DrawFalseColorSpectrograms(DrawLongDurationSpectrograms.Arguments, String, Dictionary<String, IndexProperties>, Dictionary<String, Double[,]>)

    Declaration
    public static Image<Rgb24> DrawFalseColorSpectrograms(DrawLongDurationSpectrograms.Arguments args, string fileStem, Dictionary<string, IndexProperties> indexProperties, Dictionary<string, double[, ]> spectra = null)
    Parameters
    Type Name Description
    DrawLongDurationSpectrograms.Arguments args
    String fileStem
    Dictionary<String, IndexProperties> indexProperties
    Dictionary<String, Double[,]> spectra
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    DrawFalseColorSpectrograms(String, TimeSpan, FileInfo, Dictionary<String, Double[,]>)

    Draws two false-color spectrograms using a default set of arguments.

    Declaration
    public static Image DrawFalseColorSpectrograms(string fileStem, TimeSpan dataScale, FileInfo indexPropertiesConfig, Dictionary<string, double[, ]> spectra = null)
    Parameters
    Type Name Description
    String fileStem
    TimeSpan dataScale
    FileInfo indexPropertiesConfig
    Dictionary<String, Double[,]> spectra
    Returns
    Type Description
    SixLabors.ImageSharp.Image
    | Improve this Doc View Source

    DrawFalseColourSpectrograms(DrawLongDurationSpectrograms.Arguments, String, Dictionary<String, Double[,]>)

    Declaration
    public static Image<Rgb24> DrawFalseColourSpectrograms(DrawLongDurationSpectrograms.Arguments args, string fileStem, Dictionary<string, double[, ]> spectra = null)
    Parameters
    Type Name Description
    DrawLongDurationSpectrograms.Arguments args
    String fileStem
    Dictionary<String, Double[,]> spectra
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    DrawGrayScaleSpectrograms(DrawLongDurationSpectrograms.Arguments, String, TimeSpan, Dictionary<String, Double[,]>)

    Declaration
    public static Image<Rgb24> DrawGrayScaleSpectrograms(DrawLongDurationSpectrograms.Arguments arguments, string fileStem, TimeSpan dataScale, Dictionary<string, double[, ]> spectra = null)
    Parameters
    Type Name Description
    DrawLongDurationSpectrograms.Arguments arguments
    String fileStem
    TimeSpan dataScale
    Dictionary<String, Double[,]> spectra
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    DrawRidgeSpectrograms(DrawLongDurationSpectrograms.Arguments, String, Dictionary<String, Double[,]>)

    The integer returned from this method is the number of seconds duration of the spectrogram. Note that this method is called only when spectrogramScale = 0.1.

    Declaration
    public static int DrawRidgeSpectrograms(DrawLongDurationSpectrograms.Arguments arguments, string fileStem, Dictionary<string, double[, ]> spectra = null)
    Parameters
    Type Name Description
    DrawLongDurationSpectrograms.Arguments arguments
    String fileStem
    Dictionary<String, Double[,]> spectra
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    DrawRidgeSpectrograms(DirectoryInfo, FileInfo, String, Double, Dictionary<String, Double[,]>)

    Declaration
    public static Image DrawRidgeSpectrograms(DirectoryInfo inputDirectory, FileInfo ipConfig, string fileStem, double scale, Dictionary<string, double[, ]> spectra = null)
    Parameters
    Type Name Description
    DirectoryInfo inputDirectory
    FileInfo ipConfig
    String fileStem
    Double scale
    Dictionary<String, Double[,]> spectra
    Returns
    Type Description
    SixLabors.ImageSharp.Image
    | Improve this Doc View Source

    Execute(DrawLongDurationSpectrograms.Arguments)

    Declaration
    public static void Execute(DrawLongDurationSpectrograms.Arguments arguments)
    Parameters
    Type Name Description
    DrawLongDurationSpectrograms.Arguments arguments
    • 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