The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: JHGuitarFreak on April 01, 2010, 07:16:19 pm



Title: aif2wav/abx2wav & sox
Post by: JHGuitarFreak on April 01, 2010, 07:16:19 pm
I believe the commands for sox in these scripts is a little out of date.

I get this for every .aif:
Code:
File starbase.aif
Number of channels:        2
Number of sample frames:   1657080
Number of bits per sample: 16
Sample rate:               44100.00Hz
sox: invalid option -- w
sox: SoX v14.3.0

sox FAIL sox: invalid option

And this for every .abx:
Code:
File ARILO058.ABX
Base sample rate: 11025Hz
sox FAIL sox: Bits value `-s' is not a positive integer

Just more of an informative post.

EDIT:

Also, while in Ubuntu 10.04 I had to uppercase the .abx extension in the script for it to find the files:
Code:
for FILE in *.ABX; do
echo "File $FILE"
BASE="${FILE%%.ABX}"


Title: Re: aif2wav/abx2wav & sox
Post by: Novus on April 02, 2010, 09:12:21 am
Thank you. Reported and patch submitted as bug #1086 (https://bugs.uqm.stack.nl/show_bug.cgi?id=1086).


Title: Re: aif2wav/abx2wav & sox
Post by: fossil on May 14, 2011, 07:34:43 pm
As of SVN r3609, both converters output .wav files directly, so sox is no longer an issue. The converters are also a little safer because the sampling rate is preserved. The scripts also handle uppercase file extensions.