⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 v32play.1

📁 speech signal process tools
💻 1
字号:
.\" Copyright (c) 1993 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)v32play.1	1.1 1/15/93 ERL.ds ]W (c) 1993 ERL, Inc..TH V32PLAY 1\-ESPS 1/15/93.SH NAMEv32play - send sampled data to a AT&T FAB2 DSP32, AT&T Surf DSP32C, or Heurikon Surf DSP32C board.PP.SH SYNOPSIS.B v32play[.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 V32playsends all or a portion of one or more ESPS, SIGnal, NIST or headerlesssampled data files to a AT&T FAB2 DSP32, AT&T Surf DSP32C, or a Heurikon Surf DSP32C board.   The FAB2 board uses an on board codec chip.  The Surf board use an Ariel Pro-Port d/a converter.  The FAB2 board is single channel.  Theother boards are dual channel.A 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)..PP.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 (assuming the standard Ariel crystal)..TP.BI \-c " channel"Select the output channel configuration.  For files with headers, thedefault is to play stereo if the file is stereo and to provideidentical output on both channels if the file is single-channel.  Ifthe file has a header and is single channel, acceptable arguments to-\fIc\fP are 0 or 1 to select channel A or B respectively for output.If the file has no header, the default is to assume single-channeldata and provide identical output to both channels.  For headerlessfiles, acceptable arguments to -\fIc\fP are 0 (output on channel A), 1(output on channel B) or 2 (stereo data, stereo output)..TP.BI \-HForce \fIv32play\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 "INTERACTION WITH XWAVES".I V32playis designed to optionally use the server mode of \fIxwaves\fP (1\-\s-1ESPS\s+1).  Thisis especially handy when.I v32playis used as an \fIxwaves\fP external playcommand (e.g. by setting the \fIxwaves\fP global play_prog).  When the latter is the case,play commands initiated via \fIxwaves\fP' menu operations may be interruptedby pressing the left mouse button in the data view.  \fIXwaves\fP will senda signal 30 (SIGUSR1) to the play program.  V32play responds to thisby sending back to \fIxwaves\fP a command "set da_location xx", where xx isthe sample that was being output when play was interrupted.  Thissetting, in conjunction with \fIxwaves\fP' built-in callback procedure forhandling child-process exits, causes the \fIxwaves\fP signal display tocenter itself on the sample where play was halted..PPThe SIGUSR1 signal to terminate .I v32playmay come from any source.  Ifit comes from sources other than \fIxwaves\fP, the environment variablesWAVES_PORT and WAVES_HOST must be correctly defined (see\fIespsenv\fP (1-ESPS)), for correct functioning of the \fIxwaves\fP viewpositioning.  (Of course, \fIxwaves\fP must actually be displaying thesignal in question at the time and \fIxwaves\fP must have initiated theplay.).PP.I V32playmay also be interrupted with kill -2 (SIGINT) or kill -3(SIGQUIT).  These signals are caught gracefully and .I v32playhalts immediately, but no message is sent to \fIxwaves\fP.  No message is sent ifthe play operation finishes without interruption..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 V32playinforms 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 WARNINGS.PP\fIV32play\fP provides stereo D/A conversion at rates up to at least48kHz when playing from local disk.  Sampling from network disks isoften feasible as well.  The maximum rate over the network isunpredictable in general, but we routinely achieve 16kHz stereo atEntropic Research Laboratory.  Of course rate limitations due tonetwork speed will be less severe for single-channel playing.Obviously, processes supplying input to.I v32playon a pipe must be able to keep up with the average aggregate sampling frequency..SH FILES.B "ESPS_BASE/32bin/"contains the DSP board code for the FAB2 board..PP.B "ESPS_BASE/32cbin/"contains the DSP board code for the DSP32C board..PP.SH BUGS.PPIf readable header IS present, but -H is specified, the header istreated like sampled data -- usually resulting in very unpleasantsounds..PPIf a \fIv32play\fP is in progress when another board operation isrequested on the same machine, unpredictable results will occur..PPThere is currently no reliable notification in the event of loss ofrealtime..PP.SH EXPECTED CHANGES.PPImplement a locking mechanism to prevent collision of multiple simultaneousattempts to use the board..PPImplement a robust check for loss of real-time operation..PP.SH SEE ALSO.PPSD (5\-\s-1ESPS\s+1), \fItestsd\fP (1\-\s-1ESPS\s+1), \fIcopysd\fP(1\-\s-1ESPS\s+1), \fIv32record\fP (1\-\s-1ESPS\s+1), \fIsfconvert\fP (1\-\s-1ESPS\s+1),\fIsend_xwaves2\fP (3\-\s-1ESPS\s+1).PP.SH AUTHORS.PPDavid Talkin

⌨️ 快捷键说明

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