diff --git a/src/AnalysisPrograms/SpectralPeakTracking/SpectralPeakTrackingEntry.cs b/src/AnalysisPrograms/SpectralPeakTracking/SpectralPeakTrackingEntry.cs index f9f320689..43dee7b95 100644 --- a/src/AnalysisPrograms/SpectralPeakTracking/SpectralPeakTrackingEntry.cs +++ b/src/AnalysisPrograms/SpectralPeakTracking/SpectralPeakTrackingEntry.cs @@ -82,7 +82,8 @@ public static void Execute(Arguments arguments) //var sonogram = new SpectrogramStandard(sonoConfig, recording.WavReader); var amplitudeSpectrogram = new AmplitudeSonogram(sonoConfig, recording.WavReader); - var energySpectrogram = new EnergySpectrogram(amplitudeSpectrogram); + // Broken in merge b7e03070a9cd72ab0632789a3412967a6cc54cd6 + //var energySpectrogram = new EnergySpectrogram(amplitudeSpectrogram); var decibelSpectrogram = new SpectrogramStandard(sonoConfig, recording.WavReader); double frameStepSize = sonoConfig.GetFrameOffset(); diff --git a/src/AudioAnalysisTools/Indices/IndexCalculate.cs b/src/AudioAnalysisTools/Indices/IndexCalculate.cs index 6f3d65d61..7b330de07 100644 --- a/src/AudioAnalysisTools/Indices/IndexCalculate.cs +++ b/src/AudioAnalysisTools/Indices/IndexCalculate.cs @@ -398,7 +398,7 @@ public static IndexCalculateResult Analysis( deciBelSpectrogram = SNR.RemoveNeighbourhoodBackgroundNoise(deciBelSpectrogram, nhThreshold: 2.0); // iii: CALCULATE noise reduced AVERAGE DECIBEL SPECTRUM - spectralIndices.PMN = SpectrogramTools.CalculateAvgDecibelSpectrumFromSpectrogram(deciBelSpectrogram); + spectralIndices.PMN = SpectrogramTools.CalculateAvgDecibelSpectrumFromDecibelSpectrogram(deciBelSpectrogram); // iv: CALCULATE SPECTRAL COVER. // NOTE: at this point, decibelSpectrogram is noise reduced. All values >= 0.0 diff --git a/tests/Acoustics.Test/Acoustics.Test.csproj b/tests/Acoustics.Test/Acoustics.Test.csproj index fa283dc5b..028424605 100644 --- a/tests/Acoustics.Test/Acoustics.Test.csproj +++ b/tests/Acoustics.Test/Acoustics.Test.csproj @@ -1,4 +1,4 @@ - + @@ -438,24 +438,15 @@ -<<<<<<< HEAD - - -======= ->>>>>>> master -<<<<<<< HEAD - -======= ->>>>>>> master