Class AcousticEntropy
Inherited Members
Namespace: AudioAnalysisTools
Assembly: AudioAnalysisTools.dll
Syntax
public static class AcousticEntropy
Methods
| Improve this Doc View SourceCalculateEntropyOfSpectralPeaks(Double[,], Int32, Int32)
CALCULATES THE ENTROPY OF DISTRIBUTION of maximum SPECTRAL PEAKS. Only spectral peaks between the lowerBinBound and the upperBinBound will be included in calculation.
Declaration
public static double CalculateEntropyOfSpectralPeaks(double[, ] amplitudeSpectrogram, int lowerBinBound, int upperBinBound)
Parameters
Type | Name | Description |
---|---|---|
Double[,] | amplitudeSpectrogram | |
Int32 | lowerBinBound | |
Int32 | upperBinBound |
Returns
Type | Description |
---|---|
Double |
CalculateSpectralEntropies(Double[,], Int32, Int32)
Calculates three SUMMARY INDICES - three different measures of spectral entropy. Each of them is derived from the frames of the passed amplitude spectrogram.
- the entropy of the average spectrum.
- the entropy of the variance spectrum.
- the entropy of the Coeff of Variation spectrum.
Declaration
public static Tuple<double, double, double> CalculateSpectralEntropies(double[, ] amplitudeSpectrogram, int lowerBinBound, int reducedFreqBinCount)
Parameters
Type | Name | Description |
---|---|---|
Double[,] | amplitudeSpectrogram | matrix. |
Int32 | lowerBinBound | lower bin bound to be included in calculation of summary index. |
Int32 | reducedFreqBinCount | total bin count to be included in calculation of summary index. |
Returns
Type | Description |
---|---|
Tuple<Double, Double, Double> | two doubles. |
CalculateTemporalEntropySpectrum(Double[,])
Declaration
public static double[] CalculateTemporalEntropySpectrum(double[, ] spectrogram)
Parameters
Type | Name | Description |
---|---|---|
Double[,] | spectrogram |
Returns
Type | Description |
---|---|
Double[] |