lplay.1

来自「speech signal process tools」· 1 代码 · 共 142 行

1
142
字号
.\" Copyright (c) 1997 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)lplay.1	1.2 4/2/97 ERL.ds ]W (c) 1996 Entropic Research Laboratory, Inc..TH LPLAY 1\-ESPS 4/2/97.SH NAMElplay - send sampled data (PCM) to Linux audio driver.PP.SH SYNOPSIS.B lplay[.BI \-r " range"] [.BI \-s " start time"] [.BI \-e " end time"] [.BI \-f " sample rate"] [.BI \-c " channel"] [.BI \-x " debug-level"] [.BI \-H] [[.BI \-i].I file] [.I more-files].PP.SH DESCRIPTION.PP.I Lplaysends all or a portion of one or more ESPS, SIGnal, NIST or headerlesssampled data files to the Linux audio driver for use by a compatible sound card..PPA subrange of data within the files may be chosen; thissubrange may be specified in seconds or sample points.  Dual-channel(stereo) or single-channel (monaural) data may be converted.Single-channel input data may be directed to either or both outputchannels..PPPlayback may be stopped by sending the terminal's interrupt character(normally control-C) after playback has started..PPIf "\-" is given for a filename, then the input is taken from standardinput and must be an ESPS file or a headerless file (i.e., SIGnal orNIST/Sphere files cannot be used with standard input)..PPThe audio can be controlled by running one of the available mixer programs,such as \fIxmixer\fR..SH OPTIONS.PPThe following options are supported:.TP.BI \-r " range"Select a subrange of points to be played, using the format.I start\-end,.I start:end or.IR start:+count .Either the start or the end may be omitted; the beginning or the end of thefile are used if no alternative is specified. .IPIf multiple files were specified, the same range from each file is played..TP.BI \-s " start time"Specify the start time in seconds.  Play will continue to the end of file orthe end time specified with -e.  -s may not be used with -r..TP.BI \-e " end time"Specify the playback end time in seconds.  Play will start at thebeginning of file or the time specified by -s.  -e may not be usedwith -r..TP.BI \-f " frequency"Specifies the sampling frequency.  The closest frequency to thatrequested will be selected from those available and the user will be notifiedif the selected value differs from that requested.  If -f is notspecified, the sampling frequency in the header is used, elsethe default value for headerless files is 16kHz..TP.BI \-c " channel"Select the output channel configuration.  For files with headers, thebehavior is to play stereo if the file is stereo and to provideidentical output on both channels if the file is single-channel.If the file has no header, the default is to assume single-channeldata and provide identical output to both channels.  For headerlessfiles, this may be changed with -\fIc\fP 2 (stereo data, stereo output)..TP.BI \-HForce \fIlplay\fP to treat the input as a headerless file.  This is probably unwiseto use unless the gain on your loudspeaker or earphones is way down, sincea file that really does have a header, or a file composed of data types otherthan shorts (of the correct byte order!) will cause a terrible sound..TP.BI \-i " input file"Specify a file to be D/A converted.  Use of -i before the file designation is optionalif the filename is the last command-line component.  If no input file isspecified, or if "-" is specified, input is taken from stdin..TP.BI \-x " debug_level"Setting debug_level nonzero causes several messages to be printed asinternal processing proceeds.  The default is level 0, which causes no debugoutput..PP.SH ESPS PARAMETERS.PPThe parameter file is not read.  .PP.SH ESPS COMMON.PPESPS Common is not read or written..PP.SH DIAGNOSTICS.PP.I Lplayinforms the user if the input file does not exist, if inconsistentoptions are used, or if an unsupported sample rate is requested.Also see \fBWARNINGS\fP below..PPIf the starting point requested is greater than the last point in thefile, then a message is printed.  Ifthe ending point requested is greater than the last point in the file,it is reset to the last point and processing continues..PP.SH SEE ALSO.PPFEA_SD (5\-\s-1ESPS\s+1), \fItestsd\fP (1\-\s-1ESPS\s+1), \fIcopysd\fP(1\-\s-1ESPS\s+1),.br\fIlrecord\fP (1\-\s-1ESPS\s+1), \fIsfconvert\fP (1\-\s-1ESPS\s+1),.br\fIsgram\fP (1\-\s-1ESPS\s+1), \fIxmixer\fR.PP.SH AUTHOR.PPDavid Talkin and Alan Parker at Entropic Research Laboratory.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?