Skip to content

Commit

Permalink
Update CommonParameters.cs
Browse files Browse the repository at this point in the history
Issue #370 Change double to array of double. THis is with a view to running the call recognizers over a set of decibel thresholds rather than just one threshold.
This is to accomodate calls that are close and distant to the microphone, i.e. to accomodate a range of call SNR.
  • Loading branch information
towsey authored and atruskie committed Oct 14, 2020
1 parent 4664320 commit 676725d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/AudioAnalysisTools/CommonParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ public abstract class CommonParameters
public double? MaxDuration { get; set; } = 10.0;

/// <summary>
/// Gets or sets the threshold of "loudness" of a component. Units are decibels.
/// Gets or sets an array of decibel thresholds.
/// Each threshold determines the minimum "loudness" of an event that can be detected. Units are decibels.
/// </summary>
public double? DecibelThreshold { get; set; } = 6;
public double?[] DecibelThresholds { get; set; }
}
}

0 comments on commit 676725d

Please sign in to comment.