Mr7Explorer commited on
Commit
344a57b
·
verified ·
1 Parent(s): 3d3f199

Update issue_detection.py

Browse files
Files changed (1) hide show
  1. issue_detection.py +1 -1
issue_detection.py CHANGED
@@ -96,7 +96,7 @@ def detect_audio_issues(spectral, time_stats):
96
  # ============================================================
97
 
98
  if flatness is not None:
99
- hf_flat = np.mean(flatness[-20:])
100
 
101
  if hf_flat > 0.40 and len(notches) >= 3:
102
  issues.append((
 
96
  # ============================================================
97
 
98
  if flatness is not None:
99
+ hf_flat = flatness
100
 
101
  if hf_flat > 0.40 and len(notches) >= 3:
102
  issues.append((