📄 wave_pro
字号:
# wave_pro for waves+ demo @(#)wave_pro 1.3 3/16/92 ERL# This file specifies many of the parameters for the program waves.# Specifications take the form# key_word <value># One or several of these pairs may appear on each line. Lines in this# file which begin with # are ignored. The comments and blank lines seen here# are optional and may be deleted in personalized copies. A full set of# specifications is included here as documentation, but any subset# is acceptable. If specifications are to be deleted, remove both the# keyword and the value. This file is accessed by get_globals() in globals.c.# non-zero values for debug_level result in various debugging-related output # messages; higher values yield more messagesdebug_level 0# non-zero values for verbose results in assorted output messages that# inform the user about what (x)waves+ is doing. A value of 0 yields # silent operation. The default level of 1 yields the following: # (1) startup messages (reporting on the profile that is read and # whether or not a DSP board has been detected); (2) the command lines# of any external program calls caused by play, spectrogram, add_espsn, # add_espsf, add_espst, and shell commands; (3) the pid of any forked # process; (4) notification that a forked process has terminated. # If verbose is 2 or higher, you get all of the above, plus some details# about waves+ command processing. verbose 0# maximum size of signal data buffer (in bytes)max_buff_size 2000000# whether or not to write ESPS common after marking segments#write_common 1# a default header to use in case of headerless files; NOTE: in the case# of ESPS files, it is better to set the unix environment variable DEF_HEADER# before calling waves, as this will have the desired effect for all ESPS# programs as well as wavesdef_header $ESPS_BASE/lib/waves/files/def_head.feasd# initial height in pixels of waveform display frame (CRT screen is 900 high)# Limits: 50 to 900 (pixels)wave_height 250# initial width in pixels of waveform display frame (CRT screen is 1152 wide)# Limits: 50 to 1152 (pixels)wave_width 1010# minimum height in pixels of spectrogram windows # If min_spec_height is larger than the "natural" height of # spectrogram windows (which is somewhat more than the number of FFT # points), and if vertical rescaling is enabled (v_spect_rescale == 1), # then spectrogram windows will be rescaled vertically when painted. # Set this to 50 to avoid any rescaling on initial window display (i.e.,# for fastest painting)# Limits: 50 to 900 (pixels)min_spec_height 300# minimum width in pixels of spectrogram windows # Initial spectrogram painting puts up one pixel-column per record # (i.e., per FFT). The "natural" width is somewhat more than the # number of records (it this fits on the screen). If min_spec_width# is larger than the number of records, a larger window is created. # You might want larger windows to see more of the digital readouts. # Limits: 50 to 1152 (pixels)min_spec_width 250# whether or not to display the reticle grid on spectrogram displays # (0 means don't display grid) reticle_grid 1# whether or not to interpolate spectrogram displays (0 means plot # uniform rectangles)spect_interp 1# whether or not to rescale spectrogram displays vertically (1 means# rescale); note that rescaling can be an expensive operationv_spect_rescale 1# whether or not to rescale spectrogram displays horizontally (1 means# escale); note that rescaling of interpolated data can be an expensive# operation if spect_rescale_scope has the value "buffer"h_spect_rescale 1# whether horizontal rescaling of interpolated data is computed for the# entire xwaves+ buffer (value is "buffer") or for just the current# window width (value is "view"). Rescaling for the entire buffer can# be quite slow if the ratio of the current view to the entire buffer is# large, but has the advantage that horizontal scrolling is very fast# once the new image is computed (since it is stored). Rescaling just# the current view is faster, but has the disadvantage that the# rescaling tapes place every time the viewpoint is moved (i.e.,# scrolling is slower). spect_rescale_scope view# files specifying parameters for generating spectrograms# These are text files with format similar to that used herein.nb_spect_params $ESPS_BASE/lib/waves/files/nb_paramswb_spect_params $ESPS_BASE/lib/waves/files/wb_params# location of upper left of first waveform frame ((0,0) is upper left of CRT)# Limits: x: 0 to 1152-wave_width; y: 0 to 900-wave_width (pixels)first_x 10first_y 150# location of the upper left corner of the waves control window (pixels)# if tempted to set both of these to 0, it's better to use 1 since that# permits twm users to set usePPosition "non-zero". Note that standard# xview command line option "-Wp <x> <y>" can be used to set position from # command line ctlwin_x 1ctlwin_y 1# whether or not the main control panel is iconized or not on startup; # control panel will be visible unless ctlwin_iconized is nonzero; Note that# the standard xview command line options -Wi (iconic) and +Wi (open) # can be used to determined the initial iconization state. Also, # the position of the icon can be determined by the standard xview # command line option "-WP <x> <y>". ctlwin_iconized 0# number of pixels to advance upon creation of subsequent waveform frames# Limits: x: 0 to 1152; y: 0 to 900 (pixels)x_increment 0y_increment 250# set initial state of waves to color or monochrome # This must be 1 (for color) or 0 (for monochrome)# This is set automatically on startup -- uncomment to override# do_color 1# plotting style to use for waveforms.# 1 ==> standard "connect-the-dots;" 2 ==> additional lines are drawn from the# true data point to the base line (histogram like).line_type 1# height in pixels of the region used to display and operate the scrollbarsscrollbar_height 15# height in pixels of the region above the scrollbar used to display# digital readouts (XView only).readout_bar_height 20# link various signal data and view manipulations across all members of# a display ensemble (booleans).scroll_ganged 1zoom_ganged 0edit_ganged 0# default signal input file (appears in Waveform Manipulator panel)# May be a complete or partial pathname (completed after waves is run).#inputname speech.sd# default output file (or file containing lists of output names)# See waves Help frame for output name usage.outputname foo1# default name to put in "Overlay name:" item in command # window (does not load file) #overlayname# a default name to use for the first display ensemble generated by waves# If omitted it becomes the simplified basename of the first file read.# objectname # colormap used for waveform and spectrogram displays# The program cmap may be used to generate these RGB colormaps.colormap $ESPS_BASE/lib/waves/colormaps/Colormap# foreground and background colormap entries for the control panel # of waves+ and attachments # One byte is used each for red, green and blue intensities respectively.# (hexadecimal format)fg_color 000000bg_color dcdcdc# default (initial) duration of waveform displays (page size); (sec)#ref_size 20.0# default step size for waveform "paging" (sec)ref_step 1.0# default (initial) starting location in speech file (sec)# This should be less than the file duration + start time.ref_start 0.0# ratio used for "zoom" operations on waveforms# Any value except zero should work.zoom_ratio 0.5# Specify an external function (program) to "attach" to waves.# The ones currently available are the labeler ("label", "xlabel")# and a spectral estimation program, ("spectrum", "xspectrum").# The users existing unix search path is used to find the actual # program to execute. # WARNING: leave this out if you want to load attachments directly # via the "attach" command in command files (including the command# file invoked as init_file -- see below) # funcname xspectrum#Here are a few globals that allow control of the xlabel control window#position, the xspectrum control window position, and the xspectrum#plot (data) window position and size #These two set the X and Y positions of the xlabel control window:xlabel_ctlwin_x 700xlabel_ctlwin_y 0#These two set the X and Y positions of the xspectrum control window:xspectrum_ctlwin_x 590xspectrum_ctlwin_y 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -