harvard-lts / fits

File Information Tool Set
http://fitstool.org
GNU Lesser General Public License v2.1
92 stars 46 forks source link

OIS Audio Information tool fails to run on some .wav files 1.6.0 and 1.5.5 #368

Open paul-aloisio opened 1 year ago

paul-aloisio commented 1 year ago

When I ran FITS 1.6.0 on a particular .wav file I got a console error like the one attached. In the fits.xml output, OIS Audio Information tool also failed to run. I will put the file in a Google drive

DA_0003_wav_FITS_1_6_0_B_error.txt

pwinckles commented 1 year ago

@paul-aloisio This bug is LIBDRS-6781. Based on what Kaylie said in the ticket, it is not possible to fix without a significant rewrite of hclaps.

The issue isn’t that the file are large, it’s that they use an internal sample representation of data using floating point instead of integers. That is totally valid, but the library we wrote for wave files doesn’t cover that way of encoding the data since MPS doesn’t work with that flavor of wave. Fixing that will probably require a rewrite of the tool fits is using and/or significant modification of that underlying library.