sound file format converter for SS1
Rich Gopstein
soleil!gopstein at rutgers.edu
Thu Nov 16 05:31:39 AEST 1989
This program will convert an audio file in Macintosh format to SS1 uLAW
format. The Mac format that this supports is one-byte-per-sample; each
sample is stored in excess-128 (128 is added to the sample value before
storing). It also knows how to convert to a sample speed of 8192 samples
per second, which is what the SS1 uses.
This program should be easily adaptable to convert just about any format
to uLAW.
To build: save the source as sound2sun.c, and "cc -o sound2sun sound2sun.c"
Usage is: sound2sun [-f frequency] infile outfile
Where frequency is the rate (in samples per second) of infile -- the
default is 11000.
Does anyone have a collection of sounds available via FTP or archive
server? If not, maybe someone can start one?
Rich Gopstein
..!rutgers!soleil!gopstein
Ed's Note: placed in archives, we can also archive sound files as part of
the sun-source archives if there is interest in this type of
thing.
FTP: Hostname : titan.rice.edu (128.42.30.1)
Directory: sun-source
Filename : sound2sun.c
Archive Server Address: archive-server at rice.edu
Archive Server Command: get sun-source sound2sun.c
More information about the Comp.sys.sun
mailing list