mcgrew@dartagnan.rutgers.edu (Charles Mcgrew) (05/30/90)
Submitted-by: guy@auspex.com (Guy Harris) Posting-number: Volume 2, Issue 14 Archive-name: sound2sun-man [ It fell through the cracks. It was behind the radiator. My dog ate it. It was just declassified. - CWM :-] #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of shell archive." # Contents: sound2sun.1 # Wrapped by guy@auspex on Sat Feb 10 15:39:26 1990 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'sound2sun.1' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'sound2sun.1'\" else echo shar: Extracting \"'sound2sun.1'\" \(635 characters\) sed "s/^X//" >'sound2sun.1' <<'END_OF_FILE' X.TH SOUND2SUN 1 "10 February 1990" X.SH NAME Xsound2sun - convert Macintosh sound files to SPARCStation-1 uLaw sound files X.SH SYNOPSIS X.B sound2sun X[ X.BI \-f " frequency" X] X.I infile X.I outfile X.SH DESCRIPTION X.B sound2sun Xreads X.IR infile , Xwhich should be an audio file in Macintosh sound format (one byte per Xsample, each sample stored in excess-128), and converts it to the XuLaw-encoded format for the SPARCStation-1, writing the converted sound Xto X.IR outfile . X.SH OPTIONS X.TP X.BI \-f " frequency" XSet the frequency of the input file to X.IR frequency . XThe default is 11,000 samples per second. X.SH "SEE ALSO" X.BR play (1), Xetc. END_OF_FILE if test 635 -ne `wc -c <'sound2sun.1'`; then echo shar: \"'sound2sun.1'\" unpacked with wrong size! fi # end of 'sound2sun.1' fi echo shar: End of shell archive. exit 0