The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 10, 2024, 01:30: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 4074 times)
JHGuitarFreak
Enlightened
*****
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:
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}"
« 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
Novus
Enlightened
*****
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.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
fossil
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.
Logged
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!