Path: utzoo!yunexus!hydroesm!jtsv16!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!rutgers!aramis.rutgers.edu!dartagnan.rutgers.edu!mcgrew From: mcgrew@dartagnan.rutgers.edu (Charles Mcgrew) Newsgroups: comp.sources.sun Subject: v02i014: Man page for sound2sun Message-ID: Date: 29 May 90 19:09:27 GMT Article-I.D.: dartagna.May.29.15.09.24.1990.18888 Organization: Rutgers Univ., New Brunswick, N.J. Lines: 59 Approved: mcgrew@aramis.rutgers.edu 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 '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