📄 wrel2.1.me
字号:
programs and xwaves+ attachments..lpOperation as a display server is initiated on startup by means of the\fB-s\fP option, or after startup by means of the \fIenable_server\fP command.When in display server mode, \fIxwaves+\fP listens on an INET domain socketport for commands to execute. The port number used is determined inthe following order: (a) the global \fIsocket_port\fP as specified in the.wave_pro or by a direct "set" command. Setting this global has noeffect if \fIxwaves+\fP is already operating as a display server(e.g., if it was started with \fB-s\fP), but it determines the socketnumber used the next time server mode is started by\fIenable_server\fP; (b) the port specified by the command line option\fB-p\fP; (c) the contents of the the unix environment variableWAVES_PORT at the time \fIxwaves+\fP starts; (d) a compiled indefault..lpWhen in display server mode, \fIxwaves+\fP continues to operate normally viakeyboard and mouse interactions. Operation in display server mode canbe terminated by means of the command \fIdisable_server\fP..lpExternal scripts can exploit an \fIxwaves+\fP display server by using\fIsend_xwaves\fP. (One can also enter \fIsend_xwaves\fP commandsdirectly in a shell window). External C programs can exploit thedisplay server by using the utility functions \fIopen_xwaves\fP(3\-\s-1ESPS\s+1), \fIsend_xwaves\fP (3\-\s-1ESPS\s+1),\fIclose_xwaves\fP (3\-\s-1ESPS\s+1), and \fIsend_xwaves2\fP. Forexample, the \fIplot3d\fP (1\-\s-1ESPS\s+1) included in ESPS Version4.1 has an option that uses these functions to sendcursor-coordination commands to an \fIxwaves\fP+ display, therebyproviding coordinated 3D- and spectrogram-style displays.(3\-\s-1ESPS\s+1)..sh 2 "Position Independence; Environment Variables".lpESPS and \fI(x)waves\fP+ have been made "position independent". In practice, this means that the system (or a link) no longer has to be at /usr/esps. Thus, root access is no longer required, and it is easy to switch between different versions (e.g., between oldand new release). .lpTo support position independence, and to support customization of ESPS/\fI(x)waves\fP+ packages, various environment variables have been defined. The main ones are listed below (for details see \fIespsenv\fP (1\-\s-1ESPS\s+1)). The ones with names ending in"_PATH" are search paths for various types of files and have the samesyntax as a Unix PATH variable: a list of directory pathnames separatedby colons. The general rule is that if a required file is specifiedby a full pathname (beginning with "/" or "./"), the name is simplyused unchanged; otherwise \fIxwaves+\fP looks for the file in thedirectories listed in the appropriate environment variable, if itis defined, or else in the directories in a default search path.For example (see WAVES_INPUT_PATH below) if a user calls on\fIxwaves+\fP to display a signal by a name such as "/usr/myname/speech.sd"or "./speech.sd", precisely that name is used. If the name is givensimply as "speech.sd", the result depends on the search path.Suppose the value of the environment variable WAVES_INPUT_PATH is,say, "/usr/abc:./data:.".Then waves looks first for "/usr/abc/speech.sd"; if that doesn't exist,it looks for "./data/speech.sd"; as the final resort, it looks for"./speech.sd".If WAVES_INPUT_PATH is undefined, the search path is the default,".:$ESPS_BASE/lib/waves/files", so \fIxwaves+\fP looks first for"./speech.sd" and then for "$ESPS_BASE/lib/waves/files/speech.sd".For more information, see \fIfind_esps_file\fP (1\-\s-1ESPS\s+1),\fIfind_esps_file\fP (3\-\s-1ESPS\s+1u),and the macros in the include file $ESPS_BASE/include/esps/epaths.h.Here is the list of environment variables..ip ESPS_BASEThis should be set to the root of the ESPS (and \fIwaves\fP+) installtree. If not defined, programs all use /usr/esps as a default. .ip WAVES_INPUT_PATHThis is the path used by \fIwaves+\fP and \fIxwaves+\fP to find allinput signal files, label files, and label menu files. IfWAVES_INPUT_PATH is not defined, the default path used is".:$ESPS_BASE/lib/waves/files"..ip WAVES_LIB_PATHThis is the path used by \fIwaves+\fP and \fIxwaves+\fP to find certain libraryfiles. If WAVES_LIB_PATH is not defined, the default path used is"$ESPS_BASE/lib/waves"..ip WAVES_MENU_PATHThis is the path used by \fIxwaves+\fP to find menu files usedwith the \fIxwaves+\fP command \fImake_panel\fP. If WAVES_MENU_PATH is notdefined, the default path used is ".:$ESPS_BASE/lib/waves/menus"..ip WAVES_COMMAND_PATHThis is the path used by \fIwaves\fP+ and \fIxwaves+\fP to findcommand files. If WAVES_COMMAND_PATH is not defined, the default pathused is ".:$ESPS_BASE/lib/waves/commands"..ip WAVES_COLORMAP_PATHThis is the path used by \fIwaves+\fP and \fIxwaves+\fP to find colormaps. IfWAVES_COLORMAP_PATH is not defined, the default path used is".:$ESPS_BASE/lib/waves/colormaps"..ip WAVES_PROFILE_PATHThis is the path used by \fIwaves+\fP and \fIxwaves+\fP to find the startupprofile. IF WAVES_PROFILE_PATH is not defined, the default path usedis "$HOME:$ESPS_BASE/lib/waves"..ip WAVES_HOSTThis is the hostname of an \fIxwaves+\fP display server. That is,\fIsend_xwaves\fP (1\-\s-1ESPS\s+1) \fIsend_xwaves\fP(3\-\s-1ESPS\s+1) attempt to send messages to an \fIxwaves+\fP processrunning on WAVES_HOST. If WAVES_HOST is not defined, the local hostis assumed..ip WAVES_PORTThis is the INET domain socket port number used by \fIsend_xwaves\fP(1\-\s-1ESPS\s+1) and \fIsend_xwaves\fP (3\-\s-1ESPS\s+1) when sendingmessages to an \fIxwaves+\fP display server. It is also used by\fIxwaves+\fP in determining the port on which to listen. IfWAVES_PORT is not defined, than a compiled-in default is used. Thisis the default socket that \fIxwaves+\fP listens on when started inserver mode (\fB-s\fP). If a non-default socket is to be used, it isspecified to \fIxwaves+\fP, \fIsend_xwaves\fP (1\-\s-1ESPS\s+1), and\fIsend_xwaves\fP (3\-\s-1ESPS\s+1) by means of WAVES_PORT. Note that\fIsend_xwaves\fP (1\-\s-1ESPS\s+1) and \fIxwaves+\fP also have a \fB-p\fP option that canbe used to override WAVES_PORT..ip BBOX_QUIT_BUTTONIf this variable is defined, it forces a "QUIT" button to be includedat the top of every button panel created via \fIexv_bbox\fP(3\-\s-1ESPS\s+1). This includes button panels created by\fImbuttons\fP (1\-\s-1ESPS\s+1), \fIfbuttons\fP (1\-\s-1ESPS\s+1),and the \fIxwaves+\fP command \fImake_panel\fP. The variable has noeffect if a quit button was specified directly using the \fB-q\fPoption to \fImbuttons\fP or the \fIquit_button\fP keyword of the\fIxwaves+\fP command \fImake_panel\fP..ip DEF_HEADERIf this environment variable is defined when \fIwaves\fP+ or\fIxwaves\fP+ starts up, it specifies a default header to be used forheaderless files (non-ESPS and non-SIGnal) files. The global\fIdef_header\fP is effectively disabled. If you want to setdef_header dynamically (changing it while (\fIx\fP)\fIwaves\fP+ isrunning), don't set DEF_HEADER..ip DSP_NO_LOCKIf set, disables locking of the DSP by \fIwaves\fP+, \fIxwaves\fP+,and the record and play programs..sh 2 "LICENSE MANAGER CHANGES".lpUnlike the previous version, the environment variable \fBELM_HOST\fRmust now always be defined. It must always contain the hostname of thehost running the Entropic License Manager (\fIelmd\fR). It is best tohave all users define this in their \fI.cshrc\fR (or equivalent).One other environment variable affects the license manager system:.ip ELM_TIMEOUTcontrols the length of time \fIxwaves\fP+ and ESPS programs wait whiletrying to contact the license server. The default is 10 seconds. Someadjustment may be required depending upon the nature of your network..sh 2 "Other Significant \fIxwaves\fP+ Changes and Fixes".npIn addition to the digital time and frequency readouts inspectrogram windows, there is now a readout for the data value at thecursor position. The digital readouts associated with overlays havebeen moved to avoid overlapping other readouts..np\fIxwaves\fP+ and \fIxspectrum\fP attachment now properly handle ESPSspectrum files (FEA_SPEC files) in the ASYM_EDGE format, which allowsdisplaying spectrograms with negative-frequency parts that result fromanalysis of complex time series. (Formerly \fIxwaves\fP+ woulddisplay such spectrograms, but with an incorrect frequency scale.).npThe label for an iconized waveform or spectrogram window is nowthe signal name rather than "waves+"..npStartup messages about the profile and DSP boards are now suppressedif \fIverbose\fP is set to 0 in the .wave_pro. .npThe range option used in calling external programs had a bug that could result in one-too-many records. This has been fixed. .npMany but (alas) not all of the multiple repaints have been suppressed..npAlthough attachments are now much less important given the newcapabilities of \fIsend_xwaves\fP (1\-\s-1ESPS\s+1) and \fIxwaves\fP+operating as a display server, a number of customers have asked for asource example of an attachment. In this release we have includedsources for \fIxspectrum\fP; see $ESPS_BASE/src_examples/waves/spectrum..sh 1 "SIGNIFICANT CHANGES TO \fIxspectrum\fP".lp.npThere is now a choice of units for the ordinate of spectrum plots. Control-panel buttons allow switching between dB, magnitude, or power..npHarmonic cursors are now available in the spectrum plot. They are enabled/disabled via buttons on the control panel. .npSix additional autoregressive (LPC, maximum entropy) spectrum analysismethods have been added to the choices in \fIxspectrum\fP. The fulleight methods are as follows (references are to the corresponding ESPSsignal processing library routine):.nf Autocorrelation Method (AUTOC) \- see \fIget_auto\fP (3\-\s-1ESPS\s+1) Covariance Method (COV) \- see \fIcovar\fP (3\-\s-1ESPS\s+1) Burg Method (BURG) \- see \fIget_burg\fP (3\-\s-1ESPS\s+1) Modified Burg Method (MBURG) \- see \fIget_burg\fP (3\-\s-1ESPS\s+1) Fast Modified Burg Method (FBURG) \- \fIget_fburg\fP (3\-\s-1ESPS\s+1) Structured Covariance Method (STRCOV and STRCOV1) \- see \fIbestauto\fP (3\-\s-1ESPS\s+1), \fIstruct_cov\fP (3\-\s-1ESPS\s+1), and \fIgenburg\fP (3\-\s-1ESPS\s+1) Vector Burg Method (VBURG) (fast approximation to structured covariance) \- see \fIget_vburg\fP (3\-\s-1ESPS\s+1).npMaximum order for LPC (maximum entropy) routines has been increased from 30 to 200. .np\fIxspectrum\fP now uses the signal (or object) name, rather than thestring "spectrum", as the icon label for the spectrum plot window..np\fIxspectrum\fP now works on FEA_SD files with FLOAT or DOUBLE data. .npGlobal parameters are now inherited from \fIxwaves\fP+ rather thanread from the user's profile. .npStartup globals allow control over the position of the control window,position of the plot window, and size of the plot window. .np\fIxspectrum\fP will now accept and display slices of spectrograms inARB_FIXED format (unequally spaced frequencies)..npThe user-interface in the plot window was improved by the addition of a right button menu (left button is now a shortcutfor save reference spectrum) .npUp to 4 different reference spectra can be saved and kept in view with separate cursors and readouts (up from 1). Menu items are available to erase the reference spectra and erase all spectra. .npAll of the \fIxspectrum\fP control parameters can be changed remotelyfrom \fIxwaves\fP+ via a "send set" command. Values shown in thecontrol panel are changed accordingly. .npRemote commands now include setting left and right frame limits (host mode). .npThe default window type now depends on the analysis method \- Hanningfor FFT methods, and rectangular for all LPC (maximum entropy)methods. If a window type is changed, the change affects only thecurrent analysis method. When a different analysis method is selected, the window type reverts to what was used the last timethe analysis method was used. .npBy default, the \fIxspectrum\fP plot window is brought to theforeground every time a new spectrum is displayed. This behavior canbe changed by means of the new startup global\fIxspectrum_datwin_forward\fP. .npNo plot window is displayed until the first spectrum computationtakes place. .sh 1 "SIGNIFICANT CHANGES TO \fI(x)label\fP".np\fIxlabel\fP now uses the object name instead of "label" asthe icon label when a label window (not the control panel) isiconized..npAn arbitrary font can now be used in the label window for both\fIlabel\fP and \fIxlabel\fP. In the case of \fIlabel\fP, the font isalso used in the label menu. .npArbitrary shell commands can be added to the label menu. The commands are invoked with three arguments: (1) text string in thefirst label field of the closest label; (2) the name of the label filedisplayed under the cursor; (3) the time location of the labelclosest to the cursor. This feature is available in both \fIlabel\fPand \fIxlabel\fP. .npNew MOVE and REPLACE commands make it easy to move and replaceexisting labels. This feature is available in both \fIlabel\fP and\fIxlabel\fP. .npGlobal parameters are now inherited from \fIxwaves\fP+ rather thanread from the user's profile. .npStartup globals allow control over the position of the control window. .sh 1 "SIGNIFICANT CHANGES TO \fIformant\fP".npA bug was fixed that prevented \fIformant\fP from working on ESPS FEA_SD files that were not SHORTS. \fIFormant\fP still assumes SHORT data, but the ESPS files are now converted on input. .npThe \fIxwaves\fP+ display of "f0.sig" files from \fIformant\fP was fixed so that the connect-the-dots mode operates correctly. .sh 1 "OTHER CHANGES AND FIXES".npA new unix environment variable DSP_NO_LOCK can be set to disable the DSP file-locking mechanism. The \fIset_lock\fP() and\fIrem_lock\fP() functions that implement the locking were documented. .npThe graphics problems with (Sunview) \fIwaves\fP+ (random dots) under Sun OS 4.1 have been fixed. .npMany X bugs were fixed (yeah, everyone says that)..sh 1 "WHAT HAPPENED TO MULTIPLE ATTACHMENTS?".lpCertain scheduled features didn't make it into the release. The most important of these is multiple attachments. We are still committedto doing this, it should be available before the end of the year. If your application depends on it, please let us know and we will schedule you for a maintenance update as soon as the feature isavailable. .sh 1 "SOME KNOWN PROBLEMS".lpHere are a few known problems related to the new features:.npIf an attachment is started when another is running, the one runningwill be detached. However, if the time between starting the twoattachments is very short, the detach can fail and \fIxwaves\fP can hang. .npIf a font is defined in a label menu, \fIxwaves\fP+ uses it in the label window but not on the label menu. .npOur fixes for "too many repaint operations" sometimes leaves portionsof display windows blank. This is easily fixed by a manual refresh.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -