Class DecibelSpectrogram
There are two constructors.
Inheritance
DecibelSpectrogram
Assembly: AudioAnalysisTools.dll
public class DecibelSpectrogram
Constructors
|
Improve this Doc
View Source
Declaration
public DecibelSpectrogram(AmplitudeSpectrogram amplitudeSpectrogram)
Parameters
|
Improve this Doc
View Source
Initializes a new instance of the DecibelSpectrogram class.
This constructor requires config and audio objects
It creates an amplitude spectrogram.
Declaration
public DecibelSpectrogram(SpectrogramSettings config, WavReader wav)
Parameters
Properties
|
Improve this Doc
View Source
Declaration
public SpectrogramAttributes Attributes { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public SpectrogramSettings Configuration { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the spectrogram data matrix of doubles.
Declaration
public double[, ] Data { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets decibel reference with which to NormaliseMatrixValues the dB values for MFCCs.
Declaration
public double DecibelReference { get; protected set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] DecibelsNormalised { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets decibels per signal frame.
Declaration
public double[] DecibelsPerFrame { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double MaxAmplitude { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets integer coded signal state ie 0=non-vocalisation, 1=vocalisation, etc.
Declaration
public int[] SigState { get; protected set; }
Property Value
|
Improve this Doc
View Source
Gets or sets instance of class SNR that stores info about signal energy and dB per frame.
Declaration
public SNR SnrData { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public void DrawSpectrogram(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
|
Improve this Doc
View Source
Declaration
public static Image<Rgb24> DrawSpectrogramAnnotated(double[, ] data, SpectrogramSettings config, SpectrogramAttributes attributes)
Parameters
Returns
Type |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
|
Extension Methods