The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
July 22, 2024, 11:11:09 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  aif2wav/abx2wav & sox
« previous next »
Pages: [1] Print
Author Topic: aif2wav/abx2wav & sox  (Read 4010 times)
Offline Offline

Posts: 1374

View Profile WWW
aif2wav/abx2wav & sox
« 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:
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:
Base sample rate: 11025Hz
sox FAIL sox: Bits value `-s' is not a positive integer

Just more of an informative post.


Also, while in Ubuntu 10.04 I had to uppercase the .abx extension in the script for it to find the files:
for FILE in *.ABX; do
echo "File $FILE"
« Last Edit: April 01, 2010, 07:27:33 pm by Serosis » Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
Offline Offline

Gender: Male
Posts: 1938

Fot or not?

View Profile
Re: aif2wav/abx2wav & sox
« Reply #1 on: April 02, 2010, 09:12:21 am »

Thank you. Reported and patch submitted as bug #1086.

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Core Team
Frungy champion
Offline Offline

Gender: Male
Posts: 94

View Profile
Re: aif2wav/abx2wav & sox
« Reply #2 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.
Pages: [1] Print 
« previous next »
Jump to:  

Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!