waves5.0.me
来自「speech signal process tools」· ME 代码 · 共 461 行 · 第 1/2 页
ME
461 行
operation to be performed when a button defined as blow_up;functionis released. This can be any operation added with \fIadd_op\fR, or anybuilt-in menu operation. By default, \fIxspectrum\fR, \fIxlabel\fR and \fIxmarks\fR alladd themselves as the \fIblowup_op\fR as part of their initialization toemulate the behavior of older \fIxwaves\fR versions..sh 3 "Commands to Attachments".lpSince multiple attachments are now possible, the \fIxwaves\fR \fIsend\fR commandhas been augmented to permit messages to be directed to a particularattachment. If only one attachment is active, the older form of thesend command behaves as before, so that existing \fIxwaves\fR scripts willcontinue to work correctly..sh 3 "Remote Xlabel Access".lpThere is now a \fIlabel\fR qualifier to the \fImark\fR command in \fIxlabel\fR.This permits full specification of the label to be applied via a\fIsend\fR command. Now, any external process can apply labels of anycontent to the \fIxlabel\fR data view (e.g. via the send_xwaves program orlibrary calls)..sh 3 "New Source Example".lpA new example attachment has been provided in source form. \fIxample.c\fRis an RPC-based attachment for \fIxwaves\fR that does not use xview. Thiscan serve as a skeleton for developing your own, custom attachments.This file can be found in \fI$ESPS_BASE/lib\fR..sh 3 "Custom Spectrum Estimation".lpThe new features in \fIxwaves\fR and \fIxspectrum\fR permit implementation ofspecialized spectrum estimation techniques and display of the resultsin the \fIxspectrum\fR display window. An example script demonstrating thisfeature is provided in the \fIxspectrum\fP manual..sh 2 "Ease of Use Features".sh 3 "Graphics Export Control".lpThere is a new \fIxwaves\fR command: \fIprint_setup\fR. This commandinvokes a setup window that allows the user to select output to a fileor printer; name an output file; specify a command for the local ornetworked printer; choose PostScript or PCL; set the resolution ofoutput device; specify a scale factor; and choose PostScript Level 1or 2. This command is most easily invoked by the button \fIprintsetup\fR on in the \fIxwaves\fR startup environment panel. All ofthese parameters may also be set remotely by \fIsend_xwaves\fR or an\fIxwaves\fP script..sh 3 "Customizing Xwaves".lpWe provide a graphical interface to the new \fIadd_op\fP command-definitionfacility through the \fIadd_op_panel\fR command. The \fIxwaves\fR defaultstartup environment that we now provide gives you quick access to the\fIadd_op_panel\fR with a single button press. \fIAdd_op_panel\fR not only helpsyou build custom operators, it also provides quick reference access to\fIxwaves\fR variables, commands and keywords..sh 3 "Help with Symbols".lpWe have implemented informational access to argument lists for \fIxwaves\fRcommands. If any command is issued with a question mark (?) as thefirst non-white character in the argument list, \fIxwaves\fR returns thenames of all acceptable keywords for the given command. Thus theshell command.sp send_xwaves set ?.spwill return the names of all \fIxwaves\fR globals..sh 3 "Output File Management".lpAll displayable files created with \fIadd_op\fR operators, spectrogramcommands, etc. now appear in the new files browser list accessibleby right mousing the OUTPUT file control-panel item. This list mayalso be accessed via the new \fIxwaves\fR symbol \fInew_files\fP. Thus, toremove all files created during a given run of \fIxwaves\fR, you could issuethe shell command:.sp rm -f `send_xwaves get aname new_files`.spOf course, this would remove ALL new files, including those saved withsave segment in file! A safer strategy might be to just savethe list for perusal later:.sp send_xwaves get aname new_files > misc_files_list.sp.sh 3 "Initializing Attachments".lpThe attachments can now be fully customized through entries in yourstartup profile file (\fI.wave_pro\fR) or interactively by sending setcommands to the attachments. See the attachment manuals for listingsof the relevant symbol names..sh 3 "Saving Attachment Customizations".lpAll attachment-specific globals may now be saved with the new\fIsave_globals\fR command that has been added to the attachments. Thissaves the values in a form suitable for inclusion in your \fIxwaves\fRstartup profile (\fI.wave_pro\fR), so the current configurations may beeasily saved for future use. This is especially handy for \fIxspectrum\fR,since it has so many free parameters..sh 3 "Speedups for Xlabel".lpThere are now keyboard qualifiers for the MOVE and REPLACE modes of\fIxlabel\fR. If SHIFT is depressed, xlabel switches into the MOVE mode(for middle button operations) as long SHIFT is held. If SHIFT isdepressed, the REPLACE mode is in effect for label menu selections(but not for direct keyboard entry). The previous mode is reenteredafter the SHIFT key is released..sh 3 "Et Cetera".lpMore state information is shown in the data-view frame, includingmouse button bindings and full path names..lpFor brevity, and simplicity, the keyword \fIop\fR has been made synonymouswith \fIcommand\fR in all \fIxwaves\fR commands that use these keywords..lpWe have resolved all differences in \fIxwaves\fR' processing of multi-wordtext arguments (e.g. for \fIop\fR or \fIcommand\fR arguments). These may nowbe either quoted strings or not. If a multi-word argument is the lastitem on a line, it need not be quoted, but can be quoted if it is toappear in another position. Formerly, items such as the \fImiddle_op\fRor \fRleft_op\fR button specification were required to be the last itemon a line..lpWe added the \fIappend_extensions\fR boolean global to \fIxwaves\fR. With a zero value, thiscan switch off the appending of extensions in the save segment infile function (and the \fIsave\fR command). This allows you to knowexactly what output filename will be used so that references can bemade later, for example, in a shell script..sh 2 "General Enhancements".sh 3 "Saving Xwaves Configurations".lpAll operator definitions and menu items created using the \fIadd_op\fRcommand may now be saved for later use with the new\fIsave_add_ops\fR and \fIsave_menus\fR commands. Thus, it ispossible to incrementally tailor \fIxwaves\fR to your exact needs.Operators added with add_esps{f,t,n} are automatically converted toequivalent \fIadd_op\fR commands when saved with the\fIsave_add_ops\fR command. The operator and menu definitions aresaved in the form of \fIxwaves\fP commands that may be executedto reconstruct them..sh 3 "Reticles".lpReticles with time scale and ordinal numbering have been added to allwaveform views. These reticles may be enabled or disabled on aper-vector-element (per-channel) basis in vector-signal(multi-channel) views..sh 3 "Improved Custom Control Panels".lpIn \fIxwaves\fR 2.1 we introduced the \fImake_panel\fR command that provides asimple means for developing your own custom control interfaces. Inversion 5.0 we have added new input modes and better state feedback tothe panels produced by \fImake_panel\fR. We have also added the\fIsave_panels\fR command to save the current \fIxwaves\fR button panelconfiguration. Thus, you can develop new panels interactively, andwhen satisfied, save the exact configuration for later use..sh 3 "New Line Types".lpTwo new line types have been added to waveform plots; Type 3 is theDSP style, where a single vertical line is drawn from the data valueto the zero baseline for each data point. Type 4 is the same, excepthat the data points are also connected with straight-line segments.The line type used is established by the \fIline_type\fR global orview-specific attribute..sh 3 "Access to Attachments".lpThe attachments may now be started by a button press on the main\fIxwaves\fR Control Panel. The attachment options that appear aredetermined by the new symbol \fIattachments\fR that may be defined in your \fI.wave_pro\fR profile file. For example, the entry.sp attachments xspectrum xlabel xchart.spwould provide three options for selection. Note that these are nolonger mutually-exclusive. Several attachments can be active at once.If \fIattachments\fP is set to the distinguished value \fInone\fP, noattachment options will appear in the panel..sh 3 "Spectra of Long Sequences".lp\fIXspectrum\fR can now perform spectrum estimation on sequences of anylength. There is a soft limit on the size of the FFT set by thevariable \fIxspectrum_max_fft_size\fR of 2 million points. This can bechanged by an entry in your startup profile file (\fI.wave_pro\fR)..sh 3 "Output from Xspectrum".lpSpectra created by \fIxspectrum\fR may now be saved in an ASCII file. The\fIxspectrum\fR control parameters, the source signal file name, and thespectrum, as frequency-log-magnitude tuples, are saved to a named.sh 3 "Et Cetera".lpThe \fIxwaves options\fR keyword is now considered obsolete. The functional bitsof this global have been expanded into the more easily understoodglobal booleans: \fIdont_save_sgrams\fR, \fIredraw_on_release\fR,\fIrewrite_after_edit\fR and \fIoverlay_as_number\fR. These attributes arenow settable on a per-view basis. \fIOptions\fP is still recognized, butits use is discouraged. It will be removed in later \fIxwaves\fR versions..lpThe \fIxwaves save\fR and \fIspectrogram\fP commands now permit specificationof the output file name. This makes it much easier for externalprocesses to keep track of the names of files created by theseoperations..lpCross-view frequency cursor tracking has been added to \fIxspectrum\fR.Moving the cursor in the spectrum window will cause the spectrogramcursors in \fIxwaves\fR to track.ASCII file with the new \fIsave_spectrum\fR command..sh 2 "Major Bug Fixes".lpThe display repaint procedures have been made more efficient. Most ofthe annoying tendencies for xview to unnecessarily refresh the screenhave been eliminated..lpDue to a complete change in the \fIxwaves\fR to attachmentscommunications, screen lockup is no longer possible..sh 1 "KNOWN PROBLEMS".lpWhen \fIxwaves\fR starts, it attempts to register itself as an RPCserver using a default program and version number. If anotherapplication happens to be using these same numbers, then theregistration will fail and \fIxwaves\fR will not be able to act as anRPC server. In this event, communications with its attachments willfail. This is very unlikely, except in the case where another\fIxwaves\fR is already running on a given CPU when \fIxwaves\fR isstarted. If this does happen, a message is printed on \fIxwaves\fRstartup. If this happens, the user should exit \fIxwaves\fR and startit again using the \fB-V\fR option to specify some alternate versionnumber. In practice almost any value will work. If no message isissued complaining that \fIxwaves\fR could not register as an RPCserver, then the new value is OK. This problem will be fixed shortly byhaving \fIxwaves\fR try alternate RPC addresses if the default fails.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?