Charles.Forsyth20060303-partialeea662d19 years agoHistory
120 lines · 2.0 KB · Text
RawDownload
.TH AUPLAY 1.SH NAMEauplay, auhdr, raw2iaf, wav2iaf \- basic audio output and conversion.SH SYNOPSIS.B auplay.I file\&....PP.B auhdr.I file\&....PP.B raw2iaf[.I option\&...] [.B -o.I output].I input.PP.B wav2iaf[.I input].PP.B wav2iaf.SH DESCRIPTION.I Auplayplays each.I filein turn on the audio device.B /dev/audio(see.IR audio (3)),setting the device's characteristics in.B /dev/audioctlto match those of the.IR file .It uses.I stream(see.IR sys-read (2))to stream the data to the device at high priority.All files played must be in `Inferno audio format',as defined by.IR audio (6)..PP.I Auhdrwrites the header of each Inferno audio.I inputfile to the standard output.The header describes the data in a form that can be written directly to.BR /dev/audioctlto set the device's characteristics..PP.I Raw2iafconverts the.I inputfile, adds an appropriate header to describe the datain the Inferno format, and writes the result to the.I outputfile.The options tell how the bytes in the input file should be interpreted:.TP.B -8rate is 8000 Hz.TP.B -1rate is 11025 Hz.TP.B -2rate is 22050 Hz.TP.B -4rate is 44100 Hz.TP.B -mmono (one channel).TP.B -sstereo (two channels).TP.B -beach sample in each channel is one byte (unsigned).TP.B -weach sample in each channel is 16-bits (little-endian).TP.B -ainput is a-law encoded.TP.B -uinput is \(*m-law encoded.TP.B -pinput is PCM encoded.PP.I Wav2iafreads the.I inputfile, which must be in Windows WAV format and encoded using PCM,and converts the data to Inferno formaton the standard output..SH SOURCE.B /appl/cmd/auplay.b.br.B /appl/cmd/raw2iaf.b.br.B /appl/cmd/wav2iaf.b.SH SEE ALSO.IR sys-read (2),.IR audio (3),.IR audio (6)\" sets rate, chans, bits, enc.\" raw2iaf: -8 8000 -1 11025 -2 22050 -4 44100 -m [chan=1] -s [chan=2] -b [byte] -w [16-bit] -a [alaw] -u [ulaw] -p [pcm] [-o output|-] [input|-].\" %s -8124 -ms -bw -aup -o out in.\" wav2iaf [infile] 

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t