Category : C Source Code
Archive   : SOX.ZIP
Filename : INSTALL

Output of file : INSTALL contained in archive : SOX.ZIP

SOX: Sound Tools installation

May 18, 1992

The sox program is just a batch utility that reads & writes
files. It's very easy to port to new computers.

This distribution will compile and run on most Unix systems.
It was developed on a Unix/386 machine running AT&T V.3.2.
It has been ported to many AT&T V.3- and V.4-flavored Unixes,
and many BSD-derived Unixes as well. There is a DOS port,
and VMS and Amiga ones are on the way.

For V.3 and V.4 Unix, the Makefile should work as is.
For SUN, NeXT, and other Unixes derived from Berkeley Unix,
you'll need to comment out these four lines in the Makefile:

CC = cc
AR = ar r
RANLIB = ar ts

and uncomment the following ones:

# CC = cc
# AR = ar r
# RANLIB = ranlib

After successfully compiling SOX, try translating a sound file.
If you can play one of the supported sound file formats,
translate 'monkey.voc' to your format (we'll use 'xxx'):

sox monkey.voc

You may have to give the word size and rate for the file.
For example, this command will make a sound file with a data rate of
12,500 samples per second and the data formatted as signed shorts:

sox monkey.voc -r 12500 -s -w

If plays properly (it's a very short monkey screech),
congratulations! SOX works. Now you should run the ''
shell script to exercise various test scenarios. It should
print nothing out. You can only run this script under Unix.
It shows alternate uses of the (far too) many options to sox.

After testing with a sound file, try compiling sox with the
optimizer (-O instead of -g). It should run a little faster.

Lance Norskog

  3 Responses to “Category : C Source Code
Archive   : SOX.ZIP
Filename : INSTALL

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: