The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
August 09, 2022, 04:38:05 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  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 3726 times)
Kohr-Ah Death
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1365



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.

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!