Skip to content

Commit

Permalink
Final tweaks to Aust Bittern recognizer
Browse files Browse the repository at this point in the history
Issue #297
  • Loading branch information
towsey committed May 5, 2020
1 parent 5d2e8cc commit d929e75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ Profiles:
# min and max of the freq band to search
MinHertz: 100
MaxHertz: 200
MinDuration: 0.2
MinDuration: 0.3
MaxDuration: 1.0
DecibelThreshold: 3.0

#Combine each pair of Boobook syllables as one event
#CombineProximalSimilarEvents: false
CombinePossibleSyllableSequence: false
SyllableStartDifference: 0.6
SyllableHertzGap: 200
CombinePossibleSyllableSequence: true
SyllableStartDifference: 3.0
SyllableHertzGap: 100

# Common settings
#Standard: &STANDARD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public override RecognizerResults Recognize(
// Combine overlapping events. If the dB threshold is set low, may get lots of little events.
var events = combinedResults.NewEvents;
var spectralEvents = events.Select(x => (SpectralEvent)x).ToList();
var newEvents = CompositeEvent.CombineOverlappingEvents(spectralEvents);
var newEvents = CompositeEvent.CombineOverlappingEvents(spectralEvents.Cast<EventCommon>().ToList());
//var newEvents = CompositeEvent.CombineOverlappingEvents(chirpEvents.Cast<EventCommon>().ToList());

if (genericConfig.CombinePossibleSyllableSequence)
{
Expand Down

0 comments on commit d929e75

Please sign in to comment.