⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 .wave_pro

📁 speech signal process tools
💻 WAVE_PRO
📖 第 1 页 / 共 3 页
字号:
# and disables the error message GUI of xwaves.  It is easier to debug# scripts if the error messages just come to stderr.  If# show_error_gui is set to 0, the error messages come to the stderr. show_error_gui 1# Mark_reference is a variable to determine the time reference for# finding time marks on objects.  If undefined, it is assumed that the# "mark" variables (l_mark_time, l_mark_samp, r_mark_time,...) are found# in relation to the time location of the cursor (i.e. in relation to# cursor_time).  If mark_reference is defined as the name of a# "readable" variable (any global or view-specific numeric variable),# the marks to the immediate left and right of the value of the named# variable are referenced.  Mark_reference is both a global creation# variable and a view-specific variable.  Mark_reference may take on the# value of any defined global or view-specific symbol name.  Its default# value is "cursor_time".  Of course, it can also assume the name of# user-defined symbols.  Thus, one way to get the time locations of the# marks immediately to the left and right of, say .34 seconds from a# display object named bob1 with a command like:#   send_xwaves set mark_reference my_time my_time .34:: \# 	bob1 get aname l_mark_time r_mark_time# Of course, if you don't mind moving the cursor, the same operation# can be performed without redefining mark_reference, thus:#   send_xwaves bob1 set cursor_time .34:: \# 	bob1 get aname l_mark_time r_mark_timemark_reference cursor_time# hold_audio_port is for the sparc only.  This eliminates the clicking# (e.g., in the Sparc 10 audio) when the audio device is opened.  By# default it is initialized to 0.  If it is set to be non-zero, then it# holds the audio port open once it has been used once.  We think that# the clicking results from the device reverting to single channel, 8# bit, mulaw upon open, and then it is set to the desired mode.   #hold_audio_port 1# As of 5.0.x we have implemented a new global max_cmap_size which# allows specification of the number of entries used by xwaves.  By# default xwaves uses 128 colors in its colormap.  Thus, if entries# are tight, one can set max_cmap_size to, say 64 or less, and still# possibly have dynamic colormap control (i.e. it may not be # necessary to use -c).  This was easy fallout from implementing support# for colormap plane depths less than 8 bits.  #max_cmap_size 64# In older sphere files, the "sample_count" field means total samples,# NOT samples per channel (or records).  If this is non-zero, then the# old format is used.  If zero, then current rule is used, which is that# sample_count means samples per channel (like esps).  For example, the# 1992 Credit Card CD is old format, but the sample files in the current# NIST source directory are in current format.old_sphere_format 0# If show_current_chan is non-zero it enables the unique display of# the sample value field (in red) for the channel that the cursor is# over.  By default it is 0.  Like other channel view specific fields,# if you set the global like "set show_current_chan 1", then it will# affect all views after that.  If you want to affect a particular# view, do ". set file view_name show_current_chan 1", where view_name# is the name of the view.  If you want to affect all views that# already exist, then do ". set all t show_current_chan 1".  show_current_chan 0#############################################################################################  GRAPHICS EXPORT CONTROL ##################################################################################################### The setting of the following items affect xwaves and all attachments# that perform graphical export (or hardcopy).  These attributes may be# modified using the printer setup widget invoked with the "print_setup"# command.# Specify the attachments that support the waves print_ensemble# command and that, if active, are to contribute to print_ensemble# output.  If an attachment is omitted from this list, the windows# it displays will not be included in xwaves print_ensemble output.# Attachments on this list must support the print_ensemble command# by responding correctly to a command ("print_ESPS_temp") that# xwaves sends to request an attachment to create graphics output# for a specified object.  The allowable attachments are# xspectrum, xlabel, and xchart.ens_print_atts "xspectrum xlabel xchart"# Enable graphic output to a printer or to a file. 1==>printer; 0==>fileprint_graphic_printer 1# the number of dots (pixels) per inch resolution for the output device.print_graphic_resolution 300# The orientation of the plot on the page (real or virtual page).# This value may be either "Portrait" or "Landscape".print_graphic_orientation Landscape# The output printer format to use.  This value may be either# "PostScript" or "PCL".print_graphic_type PostScript# default name to use if output is to a file.print_graphic_file waves.prt# The exact UNIX command that should be executed to produce hardcopy.# This is the same command you would issue to print a PostScript or PCL# file from the command line.print_graphic_command lpr# Size multiplication factor.  This can be any reasonable positive# scale factor.  1.0 gives a very small image; 1 dot per pixel.print_graphic_scale 2.5# Switch into and out of "exact replica" mode.  When this value is 0,# xwaves attampts to create an exported image that replicates that on# the screen.  When 1, some of the image decorations are removed as# might be more appropriate for presentation/journal graphics.print_only_plot 0# the "PostScript level".  Level 1 is more universal, but does not# support color reproduction.  Level 2 provides color output, but might# not work with some printers or systems.  This may be 1 or 2.print_ps_level 2####################################################################################### ATTACHMENT-SPECIFIC VARIABLES ####################################################################################### The following items have no effect on the operation of xwaves, but do# establish initial conditions for some of the attachments (xspectrum,# xchart and xlabel).  Xwaves simply makes the values of these symbols# available to the attachments.  As far as xwaves is concerned, these# items are indistinguishable from any special symbols you may define in# this file or define using the "set" command.##################################################################### The values of these symbols control the initial state of xlabel# (xchart).#####################################################################These two set the X and Y positions of the xlabel control window:xlabel_ctlwin_x 700xlabel_ctlwin_y 0# This determines the default height (pixels) of each label window section.xlabel_label_height 60# the menu of symbols and operators to use in labeling windows of# xlabel or xchart.xlabel_menufile $ESPS_BASE/lib/waves/menus/labelmenu# the "active fields" to display in labeling windows.# xlabel_fields 1 2 3# the object name to initialize the item in the xlabel/xchart control# panel.  This would ordinarily be set by a "make" command, or# automatically by xwaves, but can be established here.# xlabel_name ""# If the font is not specified in the label menu file, the font# specified by "xlabel_font" will be the one used.# xlabel_font "-adobe-courier-bold-r-normal--34-240-100-100-m-200-iso8859-1"# The "insert mode" determines if xlabel/xchart is initially operating in one# of its three modes as follows: 0 ==> REPLACE; 1 ==> INSERT; 2 ==> MOVE.# The modes can be switched interactively as explained in the# xlabel manual.xlabel_insert_mode 1# the initial chart file name to be accessed by the xchart attachment.# This would ordinarily be set from the xchart control panel or from a# script, but can also be initialized here.# xchart_chartfile ""# The menu to be associated by default with charts on display in xchart.xchart_chartmenu $ESPS_BASE/lib/waves/menus/chartmenu# the name of the output file to be accessed (or created).  This would# usually be set from a "make" command, but can be established here.xlabel_labelfile ""# xlabel_frame_voff and xlabel_frame_hoff are vertical and horizontal# pixel offsets to be applied when xlabel is positioning its label# panel relative to the parent data display.  This permits compensation# for the vagaries of various window managers via initialization of# these variables here in .wave_pro or under direct control via "send# set" commands.# Suitable values for SUN OpenLook: #   xlabel_frame_voff -25;  xlabel_frame_hoff -5# Suitable values for DEC Alpha mwm: #   xlabel_frame_voff 40;  xlabel_frame_hoff 0# xlabel_frame_voff 33# xlabel_frame_hoff 0##################################################################### The following establish the initial state of the xspectrum attachment.##################################################################### These two set the X and Y positions of the xspectrum control window:xspectrum_ctlwin_x      590xspectrum_ctlwin_y      0#These two set the width and height of xspectrum data (plot) windows#(there can be more than one plot window - one per object):xspectrum_datwin_height 250xspectrum_datwin_width  425# xspectrum_datwin_x and xspectrum_datwin_y control the initial# position of the xspectrum data (plot window) if there is only one# display object.  Positive values for xspectrum_datwin_x or# xspectrum_datwin_y specify respectively the X and Y position of the# xspectrum plot window if there is only one display object at the time# the plot window is displayed.  If there is more than one display# object, the xspectrum plot window is aligned with the first display# window of the corresponding xwaves display object, with the xspectrum# display directly underneath the left side of the xwaves window.  If# xspectrum_data_win_x is negative, the top of all xspectrum plot# windows is positioned slightly below the first xwaves display# window of the corresponding object.  If xspectrum_data_win_y is# negative, the left side of all xspectrum plot windows is lined up# (vertically) with the left side of the first xwaves display window of# the corresponding object.xspectrum_datwin_x      -1xspectrum_datwin_y      -1# If xspectrum_datwin_forward is non-zero, the xspectrum plot window # will be brought to the foreground every time a new spectrum is computed.  xspectrum_datwin_forward 1# This is the maximum LPC (maximum entropy) order that xspectrum # is allowed to use when computing autoregressive models.  The # limit is enforced on the xspectrum control panel.# The value must be less than or equal to 200xspectrum_max_lpc_order 200# when using the "CEPST" spectral analysis type, this determines the type# of liftering performed as follows: 0 ==> no liftering; 1 ==> Lowpass;# 2 ==> Highpassxspectrum_cep_liftering 1# when using the "CEPST" analysis type, the transition region (in# seconds) from full to zero cepstral energy.xspectrum_cep_trans .005# the nominal cutoff time (sec) for the lifter.  The transition region# is distributed equally on either side of this point.xspectrum_cep_cutoff .004# the time weighting used for spectral analysis.  This is decoded as# follows: 0 ==> rectangular; 1 ==> Hamming; 2 ==> cos^4; 3 ==> Hanningxspectrum_window_type 3# the default setting of LPC order to appear in the panelxspectrum_lpc_order 14# the default time window duration (sec).xspectrum_window_size .025# the duration of the interval to be inverse filtered should that# option be selected from the xspectrum data window.xspectrum_inv_filt_dur 0.1# after inverse filtering, a leaky integrator with this constant is# applied to the result (This might, for example, convert a glottal-flow# derivative estimate into a glottal flow estimate.)xspectrum_inv_filt_integ .99# the coefficient of a first-order filter to be applied before spectrum# estimation.xspectrum_preemp 0.0# the initially-selected spectral analysis type.  This is decoded as# follows: 0==>DFT; 1==>DFTR; 2==>AUTOC; 3==>COV; 4==>BURG; 5==>MBURG;# 6==>FBURG; 7==>VBURG; 8==>STRCOV; 9==>STRCOV1; 10==>CEPSTxspectrum_analysis_type 0# the maximum range, in dB, to show on the spectrum data view.xspectrum_range_db 100# the maximum FFT size to permit when performing DFT or CEPST# analyses.  This limit is intended to prevent accidental requests for# unreasonable window sizes.  The practical limit is set by your swap# space and your patience.xspectrum_max_fft_size 2000000# this enables or disables the printout of complex poles when LPC# (maximum entropy) spectral estimation is being performed.xspectrum_formants 0# this enables horizontal cursor plotting in the spectrum data view.xspectrum_horiz_cursors 0# enable plotting the frequency-amplitude reticle on the data viewxspectrum_reticle 1# determine the type of amplitude scaling to use as follows: 0==>dB;# 1==>magnitude; 2==>powerxspectrum_plot_scale 0# enable amplitude  and/or  frequency "auto-zooming".  When auto-zooming# is enabled the  view automatically expands to show only  the bracketed# region  (in frequency  or  amplitude)  as  soon  as  the  markers  are# positioned.xspectrum_a_autozoom 0xspectrum_f_autozoom 1# enable "harmonic cursors".  Up to 20 frequency cursors space# themselves out at multiples of the fundamental to aid in# identification or measurement of harmonic series.xspectrum_harmonic_cursors 0# determine whether the analysis window limits are set by the# xwaves markers, or simply by the cursor.  If enabled,# xspectrum_window_limits causes exactly the region bracketed by the# left and right xwaves markers to be analyzed.  If disabled, it uses# the current window "size (sec)" centered on the xwaves cursor.xspectrum_window_limits 0# xspectrum_reference_level is taken to be the 0 dB level for spectrum# displays, and the spectrum dB reticle and numeric cursor readout# values are adjusted accordingly.  It is only effective for the "log# pwr (dB)" scale mode. This can be set either via a command like:# 	send function xspectrum op xspectrum set xspectrum_reference_level# or by putting the spectrum frequency cursor on a spectrum value that# should become the reference level, and then selecting "set dB# reference" from the spectrum window menu.  This will cause the# indicated level to become 0 dB on the scale.xspectrum_reference_level 0

⌨️ 快捷键说明

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