Open joderetic opened 4 years ago
There is a lack of nearly all the required information needed to investigate this bug.
Despite that, given a test file sent in private correspondence, I have managed to reproduce this bug.
C:\AP\AnalysisPrograms.exe audio2csv C:\Users\Anthony\Downloads\S1-SP_20170924_083000.wav Towsey.Acoustic.yml C:\Temp\testindices -vvv
So, I've diagnosed this a little bit, there are a few interconnecting problems.
Given a 30 second file and an Index Calculation Duration of 60 seconds,
60/30
which is rounded to 0
@joderetic - given the length of your files, I'd suggest using a custom Towsey.Acoustic.yml
config file:
Towsey.Acoustic.30.yml
Inside, change the IndexCaluclationDuration
value from 60.0
to 30.0
# IndexCalculationDuration: units=seconds (default=60 seconds)
# The Timespan (in seconds) over which summary and spectral indices are calculated
# This value MUST not exceed value of SegmentDuration.
# Default value = 60 seconds, however can be reduced down to 0.1 seconds for higher resolution.
# IndexCalculationDuration should divide SegmentDuration with MODULO zero
-IndexCalculationDuration: 60.0
+IndexCalculationDuration: 30.0
Make sure you use the modified config file in the command you run. You may have to modify your script.
C:\AP\AnalysisPrograms.exe audio2csv C:\Users\Anthony\Downloads\S1-SP_20170924_083000.wav Towsey.Acoustic.yml C:\Temp\testindices
to:
C:\AP\AnalysisPrograms.exe audio2csv C:\Users\Anthony\Downloads\S1-SP_20170924_083000.wav C:\Temp\Towsey.Acoustic.30.yml C:\Temp\testindices
and the command worked.
Describe the bug
The Indices loop and concatenate index files commands are not working for my soundfiles.
Expected behavior
They should run - and do run on Susan Fuller Practical files
Diagnostics
Instructions
I have attached a log:
The operating system I'm using is:
### The version of **AnalysisPrograms.exe** I'm using is:The data used can be found:
The command I used:
The config file I used:
Screenshots
Additional Details