包含在查找更多文档专项支持资源 | 以 PDF 格式下载本书 (4620 KB)
audioplay(1)NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | USAGE | ENVIRONMENT VARIABLES | ATTRIBUTES | SEE ALSO | BUGS NAME
SYNOPSIS
DESCRIPTIONThe audioplay utility copies the named audio files (or the standard input if no filenames are present) to the audio device. If no input file is specified and standard input is a tty, the port, volume, and balance settings specified on the command line will be applied and the program will exit. The input files must contain a valid audio file header. The encoding information in this header is matched against the capabilities of the audio device and, if the data formats are incompatible, an error message is printed and the file is skipped. Compressed ADPCM (G.721) monaural audio data is automatically uncompressed before playing. Minor deviations in sampling frequency (that is, less than 1%) are ordinarily ignored. This allows, for instance, data sampled at 8012 Hz to be played on an audio device that only supports 8000 Hz. If the -V option is present, such deviations are flagged with warning messages. OPTIONS
The following options are supported: OPERANDS
USAGESee largefile(5) for the description of the behavior of audioplay when encountering files greater than or equal to 2 Gbyte ( 231 bytes). ENVIRONMENT VARIABLES
ATTRIBUTESSee attributes(5) for descriptions of the following attributes:
SEE ALSOaudioconvert(1), audiorecord(1), mixerctl(1), attributes(5), largefile(5), usb_ac(7D), audio(7I), mixer(7I) BUGSaudioplay currently supports a limited set of audio format conversions. If the audio file is not in a format supported by the audio device, it must first be converted. For example, to convert to voice format on the fly, use the command:
The format conversion will not always be able to keep up with the audio output. If this is the case, you should convert to a temporary file before playing the data. NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | USAGE | ENVIRONMENT VARIABLES | ATTRIBUTES | SEE ALSO | BUGS |
|||||||||