Class SpectrogramStandard
Inherited Members
Namespace: AudioAnalysisTools.StandardSpectrograms
Assembly: AudioAnalysisTools.dll
Syntax
public class SpectrogramStandard : BaseSonogram
Constructors
| Improve this Doc View SourceSpectrogramStandard(AmplitudeSonogram)
Declaration
public SpectrogramStandard(AmplitudeSonogram sg)
Parameters
Type | Name | Description |
---|---|---|
AmplitudeSonogram | sg |
SpectrogramStandard(SonogramConfig)
Initializes a new instance of the SpectrogramStandard class. Use this constructor when you want to init a new Spectrogram but add the data later. Useful for when constructing artificial spectrograms.
Declaration
public SpectrogramStandard(SonogramConfig config)
Parameters
Type | Name | Description |
---|---|---|
SonogramConfig | config |
SpectrogramStandard(SonogramConfig, WavReader)
Declaration
public SpectrogramStandard(SonogramConfig config, WavReader wav)
Parameters
Type | Name | Description |
---|---|---|
SonogramConfig | config | |
WavReader | wav |
SpectrogramStandard(SonogramConfig, FrequencyScale, WavReader)
Initializes a new instance of the SpectrogramStandard class. Use this constructor when want to increase or decrease the linear frquency scale.
Declaration
public SpectrogramStandard(SonogramConfig config, FrequencyScale scale, WavReader wav)
Parameters
Type | Name | Description |
---|---|---|
SonogramConfig | config | Other info to construct the spectrogram. |
FrequencyScale | scale | The required new frequency scale. |
WavReader | wav | The recording. |
SpectrogramStandard(SonogramConfig, Double[,])
Initializes a new instance of the SpectrogramStandard class. Use this constructor when you want to init a new Spectrogram by extracting portion of an existing sonogram.
Declaration
public SpectrogramStandard(SonogramConfig config, double[, ] amplitudeSpectrogram)
Parameters
Type | Name | Description |
---|---|---|
SonogramConfig | config | |
Double[,] | amplitudeSpectrogram |
SpectrogramStandard(SpectrogramStandard, Double, Double)
Initializes a new instance of the SpectrogramStandard class. use this constructor to cut out a portion of a spectrum from start to end time.
Declaration
public SpectrogramStandard(SpectrogramStandard sg, double startTime, double endTime)
Parameters
Type | Name | Description |
---|---|---|
SpectrogramStandard | sg | |
Double | startTime | |
Double | endTime |
Methods
| Improve this Doc View SourceMake(Double[,])
Declaration
public override void Make(double[, ] amplitudeM)
Parameters
Type | Name | Description |
---|---|---|
Double[,] | amplitudeM |