Spaces:
Runtime error
Runtime error
Dr. Richard Zinck
commited on
Commit
•
256ae3d
1
Parent(s):
ba2953f
Fixes
Browse files- bat_ident.py +1 -1
bat_ident.py
CHANGED
@@ -198,7 +198,7 @@ def get_raw_audio_from_file(fpath: str):
|
|
198 |
sig, rate = audio.openAudioFile(fpath, cfg.SAMPLE_RATE,0.0,2)
|
199 |
|
200 |
# Split into raw audio chunks
|
201 |
-
chunks = audio.splitSignal(sig,
|
202 |
|
203 |
return chunks
|
204 |
|
|
|
198 |
sig, rate = audio.openAudioFile(fpath, cfg.SAMPLE_RATE,0.0,2)
|
199 |
|
200 |
# Split into raw audio chunks
|
201 |
+
chunks = audio.splitSignal(sig, cfg.SAMPLE_RATE, cfg.SIG_LENGTH, cfg.SIG_OVERLAP, cfg.SIG_MINLEN)
|
202 |
|
203 |
return chunks
|
204 |
|