Dr. Richard Zinck commited on
Commit
e7bac24
1 Parent(s): d25c31f

Two second analysis

Browse files
Files changed (1) hide show
  1. bat_ident.py +1 -1
bat_ident.py CHANGED
@@ -246,7 +246,7 @@ def analyze_file(item):
246
 
247
  try:
248
  # Open audio file and split into 3-second chunks
249
- chunks = get_raw_audio_from_file(fpath)
250
 
251
  # If no chunks, show error and skip
252
  except Exception as ex:
 
246
 
247
  try:
248
  # Open audio file and split into 3-second chunks
249
+ chunks = get_raw_audio_from_file(fpath,duration=2)
250
 
251
  # If no chunks, show error and skip
252
  except Exception as ex: