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
DrawLongDurationSpectrograms
Assembly: AnalysisPrograms.dll
Syntax
public static class DrawLongDurationSpectrograms
Fields
|
Improve this Doc
View Source
CommandName
Declaration
public const string CommandName = "DrawLongDurationSpectrograms"
Field Value
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
Returns
|
Improve this Doc
View Source
Declaration
public static Image<Rgb24> DrawFalseColorSpectrograms(DrawLongDurationSpectrograms.Arguments args, string fileStem, Dictionary<string, IndexProperties> indexProperties, Dictionary<string, double[, ]> spectra = null)
Parameters
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
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
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
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
Returns
|
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
Returns
Type |
Description |
SixLabors.ImageSharp.Image |
|
|
Improve this Doc
View Source
Execute(DrawLongDurationSpectrograms.Arguments)
Declaration
public static void Execute(DrawLongDurationSpectrograms.Arguments arguments)
Parameters