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

📄 xwaves.1

📁 speech signal process tools
💻 1
📖 第 1 页 / 共 3 页
字号:
Those that are important for.I xwavesare described in \*(lqThe UNIX environment variables\*(rq in \*(wD.Only two are mandatory.ELM_HOST must be set to the host name of the machine on your networkthat is running the Entropic license manager daemon.ESPS_BASE must be set to the top of the.RI ESPS/ waves +installation directory tree.In order to have easy access to the programsthat are likely to be used in conjunction with.I xwaves,be sure that.I $ESPS_BASE/binis in your UNIX PATH definition before running.I xwaves..SS File formats.PP.I xwavessupports the use of different data file formats.The most natural way is to use ESPS.I FEAfiles..I xwavesis tuned to these files and can handle them very easily.When.I FEAfiles are used,they can be either in machine native format or EDR format,which makes it easy to port signals between different systems.See \*(lqFile formats and \fIxwaves\fP\*(rqin \*(wD for details.On the other hand there are various ways to read.RI non- FEAfiles with.I xwaves.Like most ESPS programs,.I xwaveswill directly readsampled-data files in the NIST.I Sphereformatand many files in the new Entropic.I Esignalformat.If.I xwavesdoes not recognize a file, it assumes it is headerless.If the UNIX environment variable DEF_HEADER is definedand points to a file with a valid.I FEAheader,that header is used as a \*(lqvirtual\*(rq header for the headerless file.Thus, the data description in the file defined by DEF_HEADERshould be valid for the input data.The ESPS conversion programs.IR btosps (1\-ESPS),.IR testsd (1\-ESPS),and.IR addfeahd (1\-ESPS)are useful in creating such headers.The.I xwavesglobal variable.I def_headercan be used instead of the environment variableand can be changed while.I xwavesis running.Files that are headerless from the ESPS and.I xwavesviewpoint may in fact contain \*(lqforeign\*(rq headers.If a.I FEAheader contains certain \*(lqgeneric header items\*(rq,a foreign header (i.e. a block of information at the head of the file)is skipped when reading data.(A copy is kept inside the.I FEAheader, however, so that the foreign headercan subsequently be exposed again.)See.IR read_header (3\-ESPS)for more details and for information about setting the relevantgenerics in the headers specified by DEF_HEADER or.I def_header..SS UNIX, ESPS, and xwaves.PPThe discussion of the command.I add_opunder \*(lqThe command language\*(rq above showed a simple exampleof executing a UNIX shell command from within.I xwaves.See the discussion of.I add_opunder \*(lqGlobal.I xwavesCommands\*(rq in \*(wD for more information and examples.In general, the mechanism can start a unix process to run an externalprogram (while.I xwavesgoes on its merry way).If output is to be displayed,.I xwavesis signaledwhen the forked process terminates..PPIn addition to.I add_op,there are more special facilities for calling ESPS programs from.I xwaves..PPWhen built-in.I xwavessupport for a DSP board is not used,external programs are used to generate spectrograms.In particular the program or command indicated by the global variable.I sgram_progis invoked with appropriate command-line options.The default value is \*(lqsgram\*(rq,which calls the program.IR sgram (1\-ESPS),but.IR me_sgram (1\-ESPS)can be used instead, or any program or scriptthat supports the right command-line options.See \*(lqESPS spectrogram computation\*(rqunder \*(lqUNIX, ESPS, and \fIxwaves\fP\*(rqin \*(wD for details..PPSupport for the built-in audio of most workstation on which.I xwavesruns is built into.I xwavesand is used by default for audio output.However, you can specify other means of output by setting the.I xwavesglobal variable.I play_progto a program or commandthat supports appropriate command-line options.See \*(lqUsing audio\*(rq in \*(wD for details..SS Attachments.PPAttachments are programs that run as separate UNIX processes,but in close cooperation with.I xwaves.In fact they will not do anything useful unless.I xwavesis running.In general, attachments are used for tasksthat require a specific user interface that cannot be realized with.I xwavesalone.These tasks require transfer of information between.I xwavesand the attachment.Attachments communicate with.I xwavesthrough the X server,using a communications protocol that is compatible with Tcl/Tk..PPAt the moment there are four standard.I xwavesattachments:.IR xlabel (1\-ESPS),.IR xspectrum (1\-ESPS),.IR xmarks (1\-ESPS),and.IR xchart (1\-ESPS). These are described in corresponding chapters of \*(wD(\c.qI xlabel "" ,.qI xspectrum "" ,.qI xmarks "" ,.qI xchart "" )and \*(wR(\c.qI xlabel "reference" ,.qI xlabel "quick reference" ,etc.)..PPAn attachment is normally started with the.I xwavescommand.I attachor by clicking on a button in the.B Attach:field in the.I xwavesmain control panel.It can also be started from the command line,but then you may have to worry about the command line options.The attachments are stopped when.I xwavesstops..PPThe attachments have their own command languages,which resemble that of.I xwaves.The individual commands are describedin the \*(lq... reference\*(rq chapters of \*(wR..PPThe attachments do not have their own command-entry facilities.Instead, commands are sent to attachments via the.I xwavescommand.I send.This can be issued in any of the usual ways, including.IR send_xwaves (1\-ESPS).Thus attachments can be controlled from UNIX shell scripts.For examples of the use of.I send,see \*(lqUsing the program \fIsend_xwaves\fP\*(rqand \*(lqAttachments and the command language\*(rqunder \*(lqThe.I waves+command language\*(rqand the chapters on the individual attachments in \*(wD..PPThe attachment.IR xlabel (1\-ESPS)is a general-purpose signal segmentation and labeling program.It can be used to view multiple label/segmentation filessimultaneously.Labels can be selected from a user-configurable menuor typed in directly from the keyboard.They are displayed in a window containing markers with attached labelsin time alignment with a signal in an.I xwavessignal display window..I xlabelis especially useful for comparing and generatingmultiple segmentations of the same signalwhen the label sequence is not known in advance..PP.IR xspectrum (1\-ESPS)facilitates interactivepower-spectrum analysis of data that is displayed in.I xwaveswindows.Individual spectra displayed by.I xspectrumcan be compared by overlaying them on a common plot.The spectrum analysis method and parameterscan be varied by entering values in the.I xspectrumcontrol panel.If a linear-prediction (maximum-entropy) spectrum-analysis methodis used,.I xspectrumalso supports inverse filtering of the selected dataand formant/bandwidth estimation..I xspectrumwill also display \*(lqspectral slices\*(rq (single-frame power spectra)from data in.I xwavesspectrogram windows..PP.IR xmarks (1\-ESPS)is specialized for assigning times in waveformsto pre-defined label sequences.It is specifically designed for labeling speechin that it supports labeling of sentence-like structures.Labels are supplied in a specific formatin a file created before the attachment is run..I xmarkslets you quickly place labelsby clicking a mouse button in the signal window..I xmarksautomatically selects the next label to be placed..PP.IR xchart (1\-ESPS)is an extension of.I xlabelthat offers all the features of.I xlabeland provides an additional display mode..I xchartwas designed to manipulate displays of \*(lqcharts\*(rq.A chart is a collection of possibly overlappingsignal-segment labels\*-for example, word hypothesesfrom a speech recognizer's \*(lqfront end\*(rq.Each segment label is associated with a character stringcalled a.I symbol..I xchartdisplays these symbols in a window below an.I xwavessignal display, possibly along with label filesof the type described in the chapter on.I xlabel..SH OPTIONS.PPThe command-line options recognized by.I xwavesare the following..TP.BI \-cSpecifies that.I xwavescreates its colormap segment as STATIC,making it sharable with other applications on the same X server. Since.I xwavesuses a rather large colormap, there may be interferenceif another application on the same X server(such as another copy of.IR xwaves )also tries to allocate a large colormap.If you must run more than.I xwaveson the same server, and you have colormap problems(flashing as you move the mouse or incorrect colors),start each.I xwaveswith the.B \-coption and have them all load the same colormap via the.I .wave_profile (see\*(lqChanging the.I xwavesenvironment\*(rq in \*(wD).They will then share the colormap segment..IPA side effect of this optionis that the colormap cannot be changed after the initial one is loaded.In addition, interactive alteration of the color thresholdand contour marking via the mouse in spectrogram viewsdo not work with STATIC colormaps..TP.BI \-n " alternative_name".I xwaveshas an interprocess communication capability,which programs such as.IR send_xwaves (1\-ESPS)can use to send commands to.I xwavesand get results in reply.The communication methodis based on communicating through the X serverand is compatible with Tcl/Tk (version 4).When.I xwavesstarts, it registers itself with the serverthat it is using for display.By default, it registers under the name \*(lqxwaves\*(rq,but a different name can be specified by means of this option.This might be done if, for example, it were necessary to run two.I xwavesprocesses at once on the same X display..TP.BI \-p " socket_port"Specifies the INET domain socket port number to listen onwhen in \*(lqserver mode\*(rq (as a result of the.B \-soption or the.I enable_servercommand).See the comment under.B \-sconcerning the phaseout of this server mode..IPIf this option is not used,and if the UNIX environment variable WAVES_PORT is defined,the port is set to the value of WAVES_PORT.If WAVES_PORT is not defined, a compiled-in default is used.The port number can be changed at any time through an.I xwavescommand by setting the.I xwavesglobal variable.I socket_port(see the chapter.qI xwaves "command reference"in \*(wR);the change takes effect the next time the.I enable_servercommand is executed..TP.BI \-s Specifies that.I xwavesstarts up in \*(lqserver mode\*(rq.This is equivalent to executing the.I xwavescommand.I enable_server.When in server mode,.I xwaveslistens on a socket for commands sent by external scripts or programsthat use the.IR send_xwaves (3\-ESPS)library functions.In pre-5.0 versions of.I xwavesit was necessary to be in the server mode for the.IR send_xwaves (1\-ESPS)program to function.This is no longer true, since.IR send_xwaves (1\-ESPS)now uses a different communication protocol.In the current releasethis server mode is not needed by any Entropic-supplied programsand is provided only for compatibility with old user-written programs.For new programs, use the library functions.IR SendXwavesNoReply (3\-ESPS)and.IR SendXwavesReply (3\-ESPS)..TP.BI \-w " wave_pro"Specifies the startup profile to read.If this option is not used,.I xwavesattempts to read the file.I .wave_proalong the search path.I $HOME:$ESPS_BASE/lib/waves.That is, it first looks for a file.I .wave_proin the user's home directory and then for.I $ESPS_BASE/lib/waves/.wave_pro.The search path used can be overridden by setting the UNIXenvironment variable WAVES_PROFILE_PATH before starting.I xwaves.The same search path is used for names supplied with the.B \-woption..TP.BI \-x " debug_level"If the argument is positive,.I xwavesprints debugging messages on the standard error output.The number of messages increases with increasing values of.I debug_level.No messages are printed for a.I debug_levelof 0.The value can be changed at any time through an.I xwavescommand by setting the.I xwavesglobal variable.I debug_level(see the chapter.qI xwaves "symbols reference"in \*(wR)..SH SEE ALSO\*(wD,\*(wR,\*(wT,.br.IR addfeahd (1\-ESPS),.IR btosps (1\-ESPS),.IR espsenv (1\-ESPS),.br.IR me_sgram (1\-ESPS),.IR send_xwaves (1\-ESPS),.IR sgram (1\-ESPS),.br.IR testsd (1\-ESPS),.IR xchart (1\-ESPS). .IR xlabel (1\-ESPS),.br.IR xmarks (1\-ESPS),.IR xspectrum (1\-ESPS),.br.IR SendXwavesNoReply (3\-ESPS),.IR SendXwavesReply (3\-ESPS),.br.IR read_header (3\-ESPS),.IR send_xwaves (3\-ESPS).SH AUTHOR.PPOriginal program by David Talkin at AT&T Bell Laboratories.Later enhancements by Rod Johnson, Alan Parker, John Shore,David Talkin, and others at Entropic.This manual page largely extracted by Rod Johnsonfrom \*(wD and earlier manual pages,all derived ultimately from Talkin's original documentationwith many revsions and additions byDavid Burton, Joop Jansen, Rod Johnson, Alan Parker, John Shore, David Talkin,and others at Entropic.

⌨️ 快捷键说明

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