Class CrossCorrelation
This class contains two methods that could eventually be deleted. The methods are only called by call recognizers that have not been maintained in a long time.
Inherited Members
Namespace: AudioAnalysisTools
Assembly: AudioAnalysisTools.dll
Syntax
public class CrossCorrelation
Methods
| Improve this Doc View SourceDetectBarsInTheRowsOfaMatrix(Double[,], Double, Int32)
TODO THis method could eventually be deleted. It has been replaced by the other methods below. Amongst other things, the term "periodicity" is used incorrectly in this method. It actually refers to the "harmonic interval". This method assumes the matrix is derived from a spectrogram rotated so that the matrix rows are spectral timeframes of a spectrogram.
Declaration
public static Tuple<double[], double[]> DetectBarsInTheRowsOfaMatrix(double[, ] m, double threshold, int zeroBinCount)
Parameters
Type | Name | Description |
---|---|---|
Double[,] | m | |
Double | threshold | |
Int32 | zeroBinCount |
Returns
Type | Description |
---|---|
Tuple<Double[], Double[]> |
DetectHarmonicsInSonogramMatrix(Double[,], Double, Int32)
TODO TODO this method could be deleted. It is called only by a method to detect crow calls. THis is long since superceded. A METHOD TO DETECT HARMONICS IN THE ROWS of the passed portion of a sonogram. This method assume the matrix is derived from a spectrogram rotated so that the matrix rows are spectral columns of sonogram. Was first developed for crow calls. First looks for a decibel profile that matches the passed call duration and decibel loudness. Then samples the centre portion for the correct harmonic period.
Declaration
public static Tuple<double[], double[], double[]> DetectHarmonicsInSonogramMatrix(double[, ] m, double dBThreshold, int callSpan)
Parameters
Type | Name | Description |
---|---|---|
Double[,] | m | data matrix. |
Double | dBThreshold | Minimum sound level. |
Int32 | callSpan | Minimum length of call of interest. |
Returns
Type | Description |
---|---|
Tuple<Double[], Double[], Double[]> | a tuple. |