[CM] sndinfo doesn't work w. large riff/wav (from other apps), sun/next is ok
Using sndinfo to read some info on large soundfiles. Is it sndlib or sox failing here? $ sox -n -c 2 silence.au trim 0.0 1.0 $ sndinfo silence.au | grep length length: 1.00 $ sox -n -c 2 silence.wav trim 0.0 1.0 $ sndinfo silence.wav | grep length silence.wav: no data chunk?silence.wav: no data chunk?$ soxi reports correct duration with both files. Making the large .wav with snd makes sndinfo report good numbers. sndinfo and snd fails on large wav-files made with other (libsndfile based) apps too, eg. ardour. It's ok with shorter files (< 2.1 GB?). ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist
Re: [CM] sndinfo doesn't work w. large riff/wav (from other apps), sun/next is ok
The problem is in sndlib, not sox. There were a couple places where the size was treated as a (signed) int, even though snd could write an unsigned int if needed. Thanks for the bug report! ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist