📄 wrel3.1.doc
字号:
waves+ Version 3.1 Release Notes page 1 waves+ Version 3.1 Release Notes Document Version: 1.1 2/1/931. INTRODUCTIONThis new release of waves+, prepared for distribution inJanuary 1993, provides new features requested by our custo-mers. It also provides fixes to many bugs and removal ofnumerous annoyances. In addition, the software and documen-tation improvements embodied in this release are part of thegroundwork for significant feature enhancements to come infuture releases.1.1. Version 3.1 Release Highlights + xchart: a new display method for lattices of time- series labels + full editing and display support for aperiodically sam- pled time series + streamlined software license facilities + improved control of output file destinations + enhanced control over "server mode" operation + greatly improved D/A and A/D (play and record) programs + enhanced scrolling and random access in long data files + xspectrum now permits FFT's of unlimited size + fine-grained control of harmonic spectrum cursors + enhanced xwaves startup environment and control panels + updated documentation1.2. Compatibility with Previous VersionsXwaves is backwards compatible with Version 2.1 with thefollowing exceptions:The program xwaves now has only one official name. Simi-larly, the attachments, xspectrum, xlabel, xchart and xmarkshave only one official name each. We provide an installa-tion option to generate symbolic links to the variousaliases (xvwaves, waves+, xwaves+, ...), but we encourageyou to join us in eliminating this confusion once and forwaves+ Version 3.1 Release Notes page 2all! The name waves+ is now used only to refer to the col-lection of programs and documentation comprising the wholeproduct.xwaves is only available for use with the X window system.The Sunview version is no longer available.The display server potential of xwaves has been signifi-cantly increased by allowing send_xwaves to block (bydefault) until the sent command is complete. Shell scriptsthat counted on non-blocking behavior should be changed byinserting the -B command-line option in the send_xwavescalls.Wcheckout has been eliminated. All auxiliary xwaves pro-grams now run whether xwaves is running or not. This shouldmake life more pleasant, but if you have old UNIX scriptsthat ran wcheckout, you should remove these calls.Filenames entered into xwaves no longer have "./" automati-cally prepended to the internal representation. Thisbehavior caused subquent references to files loaded intoxwaves to be incorrect, since the user had no way of knowingthat the name (as far as xwaves was concerned) had a leading"./". This fixes apparent bugs in several commands (e.g.align) that reference specific files. If you worked aroundthis deficiency in your shell scripts or send_xwaves calls,you may need to remove the leading "./" from scripts thatreference these files.The programs wplay and wrecord have been replaced by v32playand v32record, respectively. These provide dual-channel D/Aand A/D with the AT&T/Heurikon SURF VME board, and providesingle-channel play and record for the old AT&T dsp32 "FAB2"board. The new programs read/write directly from/to diskand have several other improvements.The scope of the xwaves parameters image_clip andimage_range has been broadened to include adjustments forcolor/greyscale systems. Formerly, these only influencedthe intensity mapping for monochrome dithered spectrogramsand images. Since they now provide control ofcolor/greyscale as well, you may discover that the settingsin your personal .wave_pro profile or in the default profilefound in $ESPS_BASE/lib/waves/.wave_pro are not to yourtaste. Increasing image_clip darkens the image; decreasingimage_range increases the contrast.You may now have to find some other reason to take long cof-fee breaks; we've eliminated three. Xwaves and the attach-ments can no longer hang up the mouse and monitor. Previousversions occasionally did this, requiring you to loginremotely or reboot your system to regain control. Anotherwaves+ Version 3.1 Release Notes page 3impact on coffee breaks comes from the new programfreewaves. Previously, if xwaves exited ungracefully, e.g.by a UNIX kill command, the license was left occupied forthree minutes. It is now left for only 30 seconds, and ifthis is too long, just issue the freewaves command to freeit immediately. Finally, the license control daemon elmdnow only requires one minute to initialize, rather than thethree minutes required in Version 2.1.2. NEW FEATURESThe primary aim of the Version 3.1 release of waves+ is tofix problems and ro make the overall operation of the systemsmoother. This also lays the groundwork for major enhance-ments to come later in the Spring of 1993. Entropic has,however added the new features listed below to Version 3.1.2.1. xwavesThe xwaves spectrogram command now has four additional,optional arguments. The keywords height and width (in pix-els) permit specification of the presentation dimensions onthe screen. If horizontal and vertical rescale are enabled(with h_spect_rescale and v_spect_rescale), the spectrogramwill be scaled to fit the requested dimensions. If scalingis disabled, the spectrogram display will either clip thedata image or be limted in maximum size to the data image.The new keywords range and threshold provide means forspecifying the intensity mapping parameters when the spec-trogram is created. Previously, this was only available viathe separate colormap command.A new time display mode has been added to xwaves. When thecursor is in the scrollbar region near the top of thedisplay, the time readout is now for the whole file. Thisallows accurate direct access to any part of the signal.Note that the time/frequency cursor is now frozen when themouse is in the scrollbar region. The "Time:" item changesto "Time(f):" when the mouse is in the scrollbar region.Thus: if it is necessary to scroll to a particular time in along file: move the mouse pointer into the scrollbar region;move it right or left until the "Time(f):" display readsapproximately the desired time; press the middle mouse but-ton. The desired time will then be centered in the display.The startup environment invoked by the .wave_pro entry init_file $ESPS_BASE/lib/waves/commands/xw_init.WChas been improved. (This init_file is what brings up the"Miscellaneous xwaves Controls" button panel.) Changesinclude:waves+ Version 3.1 Release Notes page 4 + spectral averaging can be added to image menus + hardcopy ESPS plots can be added to menus + some buttons are now menu-buttons to provide shortcuts + there's a quick way to turn rescale on and off + when plot3d is added, server mode is enabledXwaves now reads, displays, edits and writes ESPS tagged FEAfiles correctly. This means xwaves can be used to manipu-late any aperiodically-sampled time series. It also alignsthese correctly with other data types. Thus, all ESPS sig-nal files, including those produced by programs like lpcana,may now be displayed correctly using xwaves. The ESPSmanual describes how to write ESPS tagged files from C pro-grams. If you have aperiodic data in ASCII form generatedby some non-ESPS process, you can build a tagged ESPS fileacceptable to xwaves and ESPS programs with a UNIX scriptlike the following:-------------------------------------------------------------------------#!/bin/sh## $1 data type: DOUBLE, FLOAT, LONG, or SHORT# $2 size: number of elements per record (columns), not counting tag# $3 src_sf: sampling frequency of the data to which the tags refer# $4 input: name of ASCII input file# $5 output: name of output tagged FEA file# The first column in the input file contains the "tags". These are# sample (record) indices into the file from which the remaining columns# were derived. This "source" file was sampled at "src_sf" samples per# second. This script assumes the remaining columns are all of the data# type specified by $1.USE_ESPS_COMMON=off; export USE_ESPS_COMMONprog=$0case $# in5) type=$1 size=$2 freq=$3 input=$4 output=$5 ;;*) echo "Usage: $prog type size src_sf input_file output_file" exit 1 ;;waves+ Version 3.1 Release Notes page 5esac# Pick a format string for reading data of the specified type with scanf.case $type inDOUBLE) fmt="%lf" ;;FLOAT) fmt="%f" ;;LONG) fmt="%ld" ;;SHORT) fmt="%hd" ;;*) echo "$prog: can't handle type $type" exit 1 ;;esac# Create a format file for use with addfeahd.fmtfile=/tmp/fmt$$cat >$fmtfile <<EOFTag LONG 1 %lddata $type $size $fmtEOF# Create output file (untagged).# Tag data go into an ordinary field named "Tag".addfeahd -c "$0 $*" -a $fmtfile $input $output 2>/dev/null# Now make a couple of changes with fea_edit to turn the output file# into a tagged file:# 1) Change the "common.tag" flag to indicate a tagged file by changing# the first 0 to 1 in the first line ("0 0 0 << do not edit >>") of the# fea_edit display.# 2) Remove the field definition for "Tag".# (This oblique technique for generating tagged files from ESPS-external# data will not be necessary in future Entropic software releases.)EDITOR=ed; export EDITORfea_edit $output <<EOF 2>/dev/null 1>&21s/0/1//Tag LONG/dwqEOF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -