wrel20.me

来自「speech signal process tools」· ME 代码 · 共 978 行 · 第 1/4 页

ME
978
字号
.lpThe driver kits include a UNIX driver (with installationinstructions) and the following standalone programs: .nf.sp .5.ta 1.25i  \fIwplay\fP \-	perform D/A conversion using DSP32 or DSP32C board  \fIwrecord\fP \-	perform A/D conversion using DSP32 or DSP32C board  \fIdspsgram\fP \-	compute spectrogram using DSP32 or DSP32C board.fi.sh 2 "On-Line Manual and Other Documentation".lpThe distribution includes on-line manual pages for \fIwaves\fP+,the attachments, the auxiliary programs, and the file structure descriptions ESPS (5\-\s-1ESPS\s+1), FEA (5\-\s-1ESPS\s+1), FEA_SPEC(5\-\s-1ESPS\s+1), and FEA_SD (5\-\s-1ESPS\s+1).  .lpThe following new documents are included in this release: .sp .5.nf	"FEA_SD Files \- Feature Files for Sampled Data in ESPS"	"Applications Note: Converting to and From ESPS Files"	"Machine-Independent File I/O in ESPS".fi.sh 1 "X WINDOWS VERSION OF \fIwaves\fP+".lpVersion 2.0 \fIwaves\fP+ has been ported to run under X Windows(instead of SunView).  To do this, we used the XView toolkit under X11R4.  Sun has released XView for Suns as a supported product and hasalso placed the XView source code in the public domain.  We refer to XWindows versions of \fIwaves\fP+ as \fIxwaves\fP+.  Owing to the useof XView, \fIxwaves\fP+ uses the Open Look Graphics User Interface. .lpVersion 2.0a of \fIxwaves\fP+ will run on Sun SPARC CPUs with SunOpenWindows 1.0.1 or greater, on HP 300 systems with HP/UX 7.0, and onMasscomp systems with RTU 5.0.  An ICCCM complient window managershould be used with \fIxwaves\fP+, and some of the Open Look fonts arenecessary.  In particular, \fIxwaves\fP+ runs well under Sun'sOpenLook window manager (\fIolwm\fP).  On HP systems it runs under theVUE window manager or their Motif window manager.  On Masscompsystems, it runs under Masscomp's \fImwm\fP.  \fIxwaves\fP+ will alsorun using a "vanilla" server built from the R4 MIT tape and it willrun with the window manager \fItwm\fP.  On all systems other than Sunsrunning OpenWindows, some of the Open Look fonts have to be installed.We provide them under /usr/esps/xview \- see the README file there. Wealso provide a copy of \fIolwm\fP..lpIn a number of cases we have tried, acceptable performance withnon-ICCCM complient window managers results from adding this resourceto the .Xdefaults file:.nf	XView.ICCCMCompliant: False.fiWhen running \fIxwaves\fP+ under Sun OpenWindows 1.0.1 (via the\fIxnews\fP server), dynamic colormaps will not work properly unlessyou define the environment variable USE_MIT_VISUALS prior to starting\fIxnews\fP.  Otherwise, correct colors for any window will be seenonly when the mouse is in that window, and the colormap will change onwindow entry and exit..lpWe will subsequently release versions of \fIxwaves\fP+ for other CPUs.These will also use the Xview toolkit, which means that the Open Lookfonts and an ICCCM complient window manager will be needed.  We willprovide these as necessary..lpThe current release of \fIxwaves\fP+ includes X Windows versions ofthe attachments \fIlabel\fP and \fIspectrum\fP; it does not include XWindows versions of the attachment \fImarks\fP or the auxilliaryprogram \fIcmap\fP \- these will become available in a later release..lpThere are a number of known problems with \fIxwaves\fP+.  Among themore noticable are these: Windows sometimes pop up in inconvenientpositions (especially with align-and-rescale operations).  Ghostcursors and markers sometimes appear (just refresh the window).Operations with the browser-menu can sometimes lead to core dumps.Windows often are refreshed more than once when they are firstdisplayed, and occasionally at other times as well (especially on HP).\fIXwaves\fP+ works well under the \fIolwm\fP window manager; withsome other window managers, windows come up with immense initialsizes.  With certain combinations of clients and servers, digitalhalftone displays appear with a reversed-sense for black and whitepixels (in this case, you can use the \fIwaves\fP+ global\fIinvert_dither\fP to get the desired display)..lpOn the HP300, the "waves+ manual" button does not work (from the\fIwaves\fP+ control panel).  On Masscomps, external ESPS calls mayreturn early (e.g. spectrograms and any functions added via theadd_esps commands), in which case the display will be incomplete.  Ifthis happens, note the file name, kill the relevant display window,and reload the file by entering the file name in the INPUTfile item onthe control panel..lpWith some window managers (e.g., \fItwm\fP on any system and \fImwm\fPon Masscomps), windows have to be placed manually.  We considerthis to be a bug and are looking for a solution..lpMany (but not all!) of the \fIxwaves\fP+ bugs reflect XView bugs.  Ingeneral, we expect \fIxwaves\fP+ to improve steadily.  .lpIf you see numerous X Window errors, and you are running under Sunmay also need to install the revised cgsix segment driver installed(from /home/openwin/sys); this seems to be needed on certainSPARCstation models, but not others. .lpYour system should be configured with 25-30MB of swap space.  Ifadditional swap space is needed, the following procedure can be used on Suns (by a super-user): First, create a swap file with mkfile(1).  Forexample, to create a 25MB swap file called "swapfile" in /home:.nf	%mkfile -v 25M /home/swapfileThen, add an entry in /etc/fstab:	/home/swapfile  swap  swap rw  0 0 Then, reboot the system.  .fi.lpOn occasion, especially after frequent use, xwaves+ may fail withvarious X Errors being reported in the console or other windows.  Whenthis happens, it is best to exit the window manager and restart..sh 1 "CHANGES AND BUG FIXES IN \fIwaves\fP+".sh 2 "Complex FEA Fields".lpComplex data types are now supported in ESPS FEA files.  Previously,FEA records were restricted to the fundamental types BYTE, SHORT,LONG, FLOAT, and DOUBLE.  Support has been added for correspondingcomplex types BYTE_CPLX, SHORT_CPLX, LONG_CPLX, FLOAT_CPLX, andDOUBLE_CPLX.  Each complex type has a real and an imaginary part ofthe corresponding integer or floating type.  For details see the FEAman page FEA (5\-\s-1ESPS\s+1).  .lp\fIwaves\fP+ plots the real and imaginary parts of the elements of acomplex field as separate traces, each with a label consisting of thefield name, possibly followed by some bracketed subscripts, andterminated with ".r" or ".i" (for "real part" or "imaginary part")..lpNote that ESPS FEA files with complex data can be created (fromheaderless binary data) using the auxiliary program \fIaddfeahd\fP.  .sh 2 "Multidimensional FEA Fields".lpMultidimensional fields now have labels with multiple subscriptsrather than being treated as one-dimensional..sh 2 "FEA_SD Support".lpIn Version 4.0 of ESPS, the built-in file type for sampled data (SD)has been replaced by a feature file subtype (FEA_SD).  Version 2.0This has been done in a backward-compatible manor \- i.e.,\fIwaves\fP+ will still read the old-style SD files (converting themto FEA_SD on input).  We have also included conversion programsbetween the old and new file types (\fIsdtofea\fP (1\-\s-1ESPS\s+1)and \fIfeatosd\fP (1\-\s-1ESPS\s+1)).  For details about FEA_SD seethe man page FEA_SD (5\-\s-1ESPS\s+1)..lpNow that sampled data are stored as self-describing FEA files, suchdata no longer has to be handled in general as a special case \- suchfiles can be read, viewed, and manipulated with \fIwaves\fP+ in thesame manner as any other FEA file.  This has several advantages.  Forone thing, it means that sampled data of any data type can be handled(in previous versions sampled data was always converted to SHORTs oninput).  For another, FEA_SD files might have other fields besides thesampled data itself ("samples"), in which case \fIwaves\fP+ candisplay all of the fields in a single window..lpThe handling of sampled data is complicated, however, when theoptional DSP32 and DSP32C boards are used.  Because these boards arelimited to operating (for both spectrogram computations and D/Aoutput) on SHORTs, special handling is required for FEA_SD files sincethey may contain sampled data of any data type.  (Note that this isnot an issue for AT&T SIGnal PCM files since they may only containSHORTs)..lpIn this regard, the handling of FEA_SD files by \fIwaves\fP+ isdetermined by a new global \fIfea_sd_special\fP.  The initial value(on startup) of fea_sd_special is determined by the presence orabsence of a DSP board.  If the board is present, \fIfea_sd_special\fPis set to 1; if it is absent, \fIfea_sd_special\fP is set to 0..lpIf \fIfea_sd_special\fP == 1, (the default if a DSP board is present),data from the "samples" field in ESPS FEA_SD files are read in asSHORTs (regardless of their external representation), and other fieldsare ignored.  Values outside of the range (-32768,+32768) are clippedto the extremes of the range.  When a signal is read in this manner,\fIwaves\fP+ can use the DSP board for spectrogram computations andD/A operations.  .lpIf \fIfea_sd_special\fP == 0 (the default if the board is notpresent), FEA_SD files are treated in the same manner as other FEAfiles \- all fields are read and displayed, and no data typeconversions are performed.  In this case, whether or not the DSP boardis present, \fIwaves\fP+ cannot use it for spectrogram computationsand D/A operations, so the external programs determined by the\fIwaves\fP+ globals \fIsgram_prog\fP and \fIplay_prog\fP are calledinstead.  If these globals refer respectively to the ESPS programs\fIsgram\fP and \fIwplay\fP (the default case), then the expectedoperations and displays will occur, although with more of a delay thanoccurs with the DSP board.  If one chooses to set \fIfea_sd_special\fP== 0 when the board is in fact present, a useful option is to set the global \fIsgram_prog\fP to invoke \fIdspsgram\fP (which uses theboard) instead of \fIsgram\fP.  (But keep in mind that \fIdspsgram\fPwill convert the data to SHORTs before using the board, while\fIsgram\fP works with FLOATs.)  .lpNote that it can sometimes be relatively time-consuming to read in anon-SHORT FEA_SD file if \fIfea_sd_special\fP == 1, as the conversionto SHORT (with limits checking) has to be done on every sample..sh 2 "Machine-Independent I/O".lpIn previous versions, files written by ESPS or \fIwaves\fP+ on onemachine could be read by ESPS program or \fIwaves\fP+ running onanother machine only if the two machines happened to have identicalnumerical data formats and byte order.  This meant, for example, thatfiles from a Sun 4 could be read by \fIwaves\fP+ on a Sun 3 but not ona Sun 386i or a DECStation 3100.  A goal for ESPS Version 4.0 and\fIwaves\fP+ Version 2.0 was that differences in numeric formats andbyte-order among machines on the network be hidden from ESPS userprograms..lpTo meet the goal of machine independence, we defined an external ESPSformat that permits programs running on different machinearchitectures to work cooperatively on the same files, and we revisedthe ESPS file system accordingly to provide general support formachine independent I/O (MIIO)..sh 3 "NATIVE vs. EDR Format".lpESPS files in Version 4.0 can be in one of two format: NATIVE or EDR.Data in NATIVE format files are written using the native numericformats for a particular machine.  Data in EDR (ESPS DataRepresentation) format files are written in a standard representation:floats and doubles are stored using IEEE standard 32 bit and 64 bitfloating point.  Integers and long integers are stored respectively as16 and 32 bit twos-complement integers.  The byte type is stored as an8 bit byte.  Character data is stored in ASCII with one character perbyte.  The byte order is that of the Motorola 680X0 processors.  TheESPS external format essentially is similar to the Sun Microsystemsexternal data representation (XDR) format..sh 3 "I/O of ESPS Files".lpESPS programs and \fIwaves\fP+ will read files in either NATIVE or EDRformat (and also files from older versions of ESPS).  By default, ESPSprograms write files in the NATIVE format for the machine on which the

⌨️ 快捷键说明

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