📄 xlabel.1t
字号:
.\" Copyright (c) 1987-1990 AT&T, Inc..\" Copyright (c) 1986-1990 Entropic Speech, Inc..\" Copyright (c) 1990-1997 Entropic Research Laboratory, Inc. All rights reserved..\" @(#)xlabel.1t 1.10 10/3/97 ATT/ESI/ERL.ds ]W (c) 1997 Entropic Research Laboratory, Inc..\" This version no longer has tbl constructs..TH XLABEL 1\-ESPS 10/3/97.if t .ds - \(em\h'-0.5m'\(em.if n .ds - ---.if n .ds lq \&"\".if t .ds lq \&``.if n .ds rq \&"\".if t .ds rq \&''.de qI.ie '\\$2'' \&\\*(lq\fI\\$1\fP\\*(rq.el \&\\*(lq\fI\\$1\fP \\$2\\*(rq...ds wD \fIwaves+ Manual\fP.ds wR \fIwaves+ Reference\fP.ds wT \fIIntroducing waves+\fP.ad l.SH "NAME"xlabel \- time-series labeling attachment for xwaves.SH "SYNOPSIS".B xlabel[.BI \-c " host_X_registry"] [.BI \-n " host_name"] [.BI \-w " wave_pro"].SH "DESCRIPTION".PP.I xlabelis an.I attachmentfor the program.IR xwaves (1\-ESPS):a program that runs in close cooperation with.I xwavesand provides additional capabilities..I xlabelfacilitates interactive labeling of signals displayed in.I xwaveswindows.This manual entry briefly describes.I xlabelbut is not intended to be a complete.I xlabelmanual.For full details, see the chapter.qI xlabelin \*(wDand the chapters.qI xlabel "reference"and.qI xlabel "quick reference"in \*(wR.Also see \*(wD and \*(wR for information about.I xwaves.In \*(wT, a hands-on tutorial introduction to.I xwaves,there is a demonstration of the use of.IR xlabel :see the section \*(lqLabeling your signals\*(rqin the chapter \*(lqSpectrum estimation, adding labels\*(rq..SS "Introduction".PPAn attachment is a program that extends the capabilities of.I xwaveswhile running as a separate UNIX process.Attachments exchange information with.I xwavesby communicating through the X server,using a communication protocol that is compatible with Tcl/Tk..PP.I xlabel,an.I xwavesattachment,is a general-purpose signal segmentation and labeling program..PP.I xlabelcan be used to view and editmultiple label/segmentation files (up to 32) simultaneously.Labels are entered and displayed in a label display windowthat is time aligned with the.I xwaveswindow displaying the signal that is being labeled.Labels can be selected from a user-configurable menuor typed in directly from the keyboard..I xlabelis controllable from UNIX scripts via the.I xwavescommand.I send..PP.I xlabelis especially usefulfor comparing and generating multiple segmentations of the same signalwhere the label sequence can not be easily predicted in advance.If the label sequence is known in advance,.IR xmarks (1\-ESPS)may be more useful..SS "Starting xlabel".PPYou can start.I xlabelin various ways.The commonest way is to click the.B xlabelbutton in the.B Attach:item of the main control panel.Another way is to issue the.I xwavescommand.I attach.The names that appear in the.B Attach:item are determined by the global variable.I attachments,which can be specified in the.I .wave_profile.If.I xlabelhas several distinct names (e.g. via symbolic links),each one can be bound to a separate.B Attach:button and invoked as a separate attachment.Thus multiple simultaneous invocations of.I xlabelare possible..PPOnce you have started.I xlabel,a.I "control panel"appears.This panel has four text input fields and two buttons (see\*(lqThe control panel\*(rq below or\*(lqThe labeler control panel\*(rq in the chapter.qI xlabelof \*(wD)..PPA.I "label display"window appears when a name is entered in the.B "Object:"field of the panel or an.I xwavesdata display is created or changed.The object name should be that of the.I xwavesdisplay ensemble to be labeled.The.B "Object:"field is usually filled in automatically by.I xwaveswith the current object name..PPA.I "label file"is displayed in the window after the.B "Label File:"item is filled in or after a.I "send make"command from.I xwaves..PPThe label display window allows you to add labels to the signals eitherby typing them in or selecting them from a menu..PPAll functions normally available in.I xwavesare active in conjunctionwith the labeler..SS "The control panel".PPThe.I xlabelcontrol panel contains the following text fields and buttons.At least the.B "Label File:"and.B "Object:"fields must be filled in to open a label file..TP.B "Label File:"This field can be used to open an existing label file or a new oneby entering its name.Several label files can be open simultaneously.An existing label file must conform to the format describedin the section \*(lqLabel files\*(rq below;also see \*(lqLabel file format\*(rq in the chapter.qI xlabelof \*(wD. This field can be filled in either by typing or by the.I xlabelcommand.I make..TP.B "Object:"This field contains the name of the.I xwavesdisplay.I object(\*(lqdisplay ensemble\*(rq)to which the label display window is to be attached.This field is filled in automatically by.I xwaveswith the name of the current object when.I xlabelis started after a signal window has been openedor when a new signal window is opened after.I xlabelis started.You can change the contents of this field by typingor with the.I xlabelcommand.I make..TP.B "Active fields:"This text field contains a set of numbers, separated by blanks,that indicate the active.I "label fields"in the label window.For an explanation of multiple fields within a label,see \*(lqLabel files\*(rq belowor \*(lqLabel files\*(rq in the chapter.qI xlabelof \*(wD. .TP.B "Label Menu File:"This field can be used to changethe file used to create the menu shown in the label display window.By default this is filled in initiallywith the value of the global symbol .I xlabel_menufile.See \*(lqLabel menus\*(rq belowor \*(lqLabel menus\*(rq in the chapter.qI xlabelof \*(wD for a description of the label menu file..TP.B "xlabel manual"Clicking on this button with the mouse pops up a searchable text windowcontaining material from \*(wD and this manual entry..TP.B "QUIT"Clicking on this buttonsaves all the labels in their corresponding files and stops.I xlabel..SS "The label display window".PPA label input window contains markers with attached text labels.A marker created in a label windowis also drawn in all the waveform and spectrogram windowsof the object with which the window is associated.The label window tries to stay close to the.I xwaveswindow to which it is attached,which is the most recently created window in the objectunless the window was created with an.I xlabel.I makecommand specifying a different signal.The label window is automatically resized, rescaled, and scrolledto maintain alignment with the window to which it is attached.When you move the mouse in the label window,the cursors in all.I xwaveswindows of the same objectmove so as to indicate the same time as the cursor in the label window..PPWhen several label files are open for the same object(see.B "Label file:"above)the label window is split into subwindows by horizontal lines.When the mouse pointer enters a subwindow,the name of the corresponding label fileis displayed at the bottom of the window..PPClicking the right mouse button in the label display windowpops up a menu that lets you select predefined labelsand certain other operations(see \*(lqLabel menus\*(rq below or \*(lqLabel menus\*(rq in the chapter.qI xlabelof \*(wD).When the mouse pointer is in the window,text typed on the keyboard is entered in the window(see \*(lqEntering labels\*(rq belowor \*(lqEntering labels\*(rq in the chapter.qI xlabelof \*(wD)..SS "Entering labels".PP.I xlabelcan be operated in either.I INSERT,.I MOVE,or.I REPLACEmode.The current mode is shown near the bottom of the label window.The mode can be changed by selecting the(optional) corresponding item from the label menu..PPIn.I INSERTmode you can place labels by moving the mouse in the label windowuntil the cursor is at the appropriate time location,then depressing the right button to show the label menu.The selected item is applied at thecursor location when you release the right button.You can perform the same operations by selecting.B "xlabel"from the menu in an.I xwavesdata window, but response is slower,and two right button clicks are needed..PPIf very accurate label placement is required, use the.B "Button Modes"menu item in.I xwavesto select.B "blow up; function"as the function of the middle mouse button.If you then move the mouse to approximately the rightlocation in a waveform window and press the middle button,the scale in the window is temporarily expandedso that you can position the cursor accuratelywith the middle button held down;the menu comes up when the button is released.See \*(lqInsert mode\*(rq under \*(lqEntering labels\*(rq in the chapter.qI xlabelof \*(wD for an explanation of how this behavior is obtained..PP.I MOVEmode lets you change a label locationwithout separately deleting and reinserting it.This mode operates identically to.I INSERTexcept for the function of the middle button.In.I MOVEmode, you can move the label nearest the cursorby pressing and holding the middle mouse button,moving the cursor to the desired location,and releasing the button..PP.I REPLACEmode causes the label closest to the current cursorposition to be changed to the item selected from the label menu.This permits rapid correction of labels without repositioning the mark.By default, the first field of a multi-field label is changed.To change a different field, enter its number,immediately preceded by an asterisk, in the.B "Active fields:"item.This \*(lqstarred\*(rq field specification is.I "in addition"to any other field display specifications(see.B "Active fields:"under \*(lqThe control panel\*(rq above)..PPCharacters typed from the keyboard are entered into the specifiedfield of the closest label, when in the.I REPLACEmode.In all cases, if the specified field does not exist for a given label,it is created..PPThere are keyboard shortcuts to get into.I MOVEand.I REPLACEmodes without explicitly changing mode.If.I SHIFTis depressed, .I xlabelswitches into the.I MOVEmode for.I "middle button operations"as long as.I SHIFTis held.While.I SHIFTis depressed,.I REPLACEmode is in effect for.I "label menu selections."The previous mode is reinstated after the.I SHIFTkey is released.See \*(lqThe.I SHIFTkey\*(rqunder \*(lqAlternative modes of editing\*(rq in the chapter.qI xlabelof \*(wD for more details..PPIn any mode, labels of arbitrary content and lengthcan be directly typed in at the.I xlabelcursor location without pressingany mouse buttons.An existing label can be edited by placing thecursor exactly on its boundary mark and then using the keyboard.The.I "DELETE"key removes characters right to left.At any time,.I "RETURN"causes the label file to be rewrittento reflect the current state of the display.Multiple, individually displayable label fields can beentered by separating them with the separator characterspecified in the label file header(see \*(lqLabel files\*(rq below or \*(lqLabel files\*(rq in the chapter.qI xlabelof \*(wD)..PPAn alternative means of editing is available througha text widget that permits editing long lines.This editing mode is enteredby selecting the item to be changed with the left mouse buttonwhile the.I CTRLkey is depressed, or by selecting the.I xlabelmenu item corresponding to.I *EDIT*.See \*(lqThe label edit window\*(rqunder \*(lqAlternative modes of editing\*(rqin the chapter.qI xlabelof \*(wD for details of operation..SS "Label menus".PPLabels to be applied and certain control functions can be accessed viauser-customizable menus.Each label file on display can have its ownmenu, which is accessed by a right button press while in the labelwindow.The.I xlabelcontrol panel item.B "Label Menu File:"can be used to specify the path name of a menu.(Also see the command.I setand the symbol.I xlabel_menufilein the chapter.qI xlabel "reference"of \*(wR)..PPSee \*(lqLabel menus\*(rqin the chapter.qI xlabelof \*(wD for details of the default filenames and search paths that.I xlabeluses in finding menu files.The default menu.I $ESPS_BASE/lib/waves/menus/labelmenu.defcontains the ASCII labels used in transcribing the DARPA.B TIMITacoustic-phonetic continuous-speech database.(This menu is also stored as.I labelmenu.timitin the same directory.)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -