Skip to content

Commit

Permalink
Fine adjustment of parameters
Browse files Browse the repository at this point in the history
Issue #238 Reviewed FF recogniser on a four extra recordings. In particular worked on a 60 minute recording and was able to pick up most ac events of interest with few FPs and FNs.
  • Loading branch information
towsey authored and atruskie committed Aug 28, 2019
1 parent a1eb4e7 commit f6537bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Profiles:
MinHz: 800
MaxHz: 8000
MinDuration: 0.15
MaxDuration: 0.5
MaxDuration: 0.8
DecibelThreshold: 9.0
Wingbeats:
MinHz: 200
Expand Down
2 changes: 1 addition & 1 deletion src/AnalysisPrograms/Recognizers/PteropusSpecies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ private static List<AcousticEvent> FilterEventsForSpectralProfile(List<AcousticE
// 0.125 = 1/8. i.e. test requires that energy in 0-1kHz band is less than average in all 8 kHz bands
// 0.0938 = 3/32. i.e. test requires that energy in 0-1kHz band is less than 3/4 average in all 8 kHz bands
// 0.0625 = 1/16. i.e. test requires that energy in 0-1kHz band is less than half average in all 8 kHz bands
bool passTest2 = !(energyRatio1 > 0.0938);
bool passTest2 = !(energyRatio1 > 0.1);

// Test 3: There should be little energy in 4-5 kHz band.
var subband4Khz = DataTools.Subarray(normalisedSpectrum, fourkHzBin, onekHzBin);
Expand Down
4 changes: 3 additions & 1 deletion src/AnalysisPrograms/Sandpit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ public static void Audio2CsvOverOneFile()

// FLYING FOX RECORDINGS
//string recordingPath = @"C:\Ecoacoustics\WavFiles\BradLawData\FlyingFox\20190127_Bellingen_Feeding_SM4.wav";
string recordingPath = @"C:\Ecoacoustics\WavFiles\BradLawData\FlyingFox\20190115_Bellingen_Feeding.wav";
//string recordingPath = @"C:\Ecoacoustics\WavFiles\FlyingFox\20190115_Bellingen_Feeding.wav";
//string recordingPath = @"C:\Ecoacoustics\WavFiles\FlyingFox\20190121_2_Bellingen_Feeding.wav";
string recordingPath = @"C:\Ecoacoustics\WavFiles\FlyingFox\20190127_Bellingen_Feeding_SM4.wav";
string configPath = @"C:\Work\GitHub\audio-analysis\src\AnalysisConfigFiles\RecognizerConfigFiles\Towsey.PteropusSpecies.yml";
string outputPath = @"C:\Ecoacoustics\Output\BradLaw\FlyingFox";

Expand Down

0 comments on commit f6537bf

Please sign in to comment.